diff options
Diffstat (limited to 'lib/net/imap.rb')
-rw-r--r-- | lib/net/imap.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 9895ed68ce..7a4d4da301 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -329,9 +329,7 @@ module Net end @receiver_thread.join synchronize do - unless @sock.closed? - @sock.close - end + @sock.close end raise e if e end |