# File lib/net/ssh/shell.rb, line 121 def on_channel_close(channel) @state = :closed @channel = nil end