lib/em-ssh/shell.rb
# Close the connection to the server and all child shells.
# Disconnected shells cannot be split.
Close the connection to the server and all child shells.
Disconnected shells cannot be split.
Close the connection to the server and all child shells . Disconnected shells cannot be split .
def disconnect(timeout = nil)
        if timeout
          EM::Timer.new(timeout) { disconnect! }
        end
        close
        @session && @session.close
        @shell = nil
        disconnect!
      end
def disconnect ( timeout = nil ) if timeout EM :: Timer . new ( timeout ) { disconnect! } end close @session && @session . close @shell = nil disconnect! end
Close the connection to the server and all child shells.
Close the connection to the server and all child shells .
timeout
<not_specific>