Bug #21 [ruby-dev:34881]

should terminate @receiver_thread of Net::IMAP safely

Added by Shugo Maeda 660 days ago. Updated 538 days ago.

Status :Assigned Start :05/29/2008
Priority :Normal Due date :
Assigned to :Shugo Maeda % Done :

0%

Category :-
Target version :1.9.x
ruby -v :


Description

@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].

History

09/28/2008 04:41 PM - Yuki Sonoda

  • Target version set to 1.9.x

Also available in: Atom PDF