Project

General

Profile

Actions

Bug #21

closed

should terminate @receiver_thread of Net::IMAP safely

Added by shugo (Shugo Maeda) over 16 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
-
Backport:
[ruby-dev:34881]

Description

=begin
@receiver_thread of Net::IMAP may be terminated by exception,
and this causes the process termination if Thread.abort_on_exception is true.

Then Net::IMAP#disconnect does not call @receiver_thread.join if TCPSocket#close
raises an exception.

Reported by Tanaka Akira in [ruby-dev:34821].
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0