= private = protected
disconnect()
Disconnects from the server.
# File lib/net/imap.rb, line 286 def disconnect begin # try to call SSL::SSLSocket#io. @sock.io.shutdown rescue NoMethodError # @sock is not an SSL::SSLSocket. @sock.shutdown end @receiver_thread.join @sock.close end