Bug #21

should terminate @receiver_thread of Net::IMAP safely

Added by Shugo Maeda over 7 years ago. Updated over 4 years ago.

Assignee:Shugo Maeda
ruby -v:- Backport:


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


#1 Updated by Yuki Sonoda about 7 years ago

  • Target version set to 2.0.0



#2 Updated by Yusuke Endoh over 5 years ago

  • Category set to lib
  • Target version changed from 2.0.0 to 1.9.2
  • ruby -v set to -

Hi, Shugo

Is this issue still unsolved?

Yusuke Endoh mame@tsg.ne.jp

#3 Updated by Shugo Maeda over 5 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r27690.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Also available in: Atom PDF