Project

General

Profile

Actions

Bug #21

closed

should terminate @receiver_thread of Net::IMAP safely

Added by shugo (Shugo Maeda) almost 14 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
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