From fd0195133da7721b4aa6d87d294e91c40e2bb4d7 Mon Sep 17 00:00:00 2001 From: Joshua Drake Date: Wed, 6 Oct 2010 16:59:57 +0000 Subject: [PATCH] add socket so cleanup happens git-svn-id: file:///home/svn/framework3/trunk@10566 4d416f70-5f16-0410-b530-b9f4589650da --- lib/net/ssh/transport/session.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/net/ssh/transport/session.rb b/lib/net/ssh/transport/session.rb index 2b16ed7cf7..6027c220a6 100644 --- a/lib/net/ssh/transport/session.rb +++ b/lib/net/ssh/transport/session.rb @@ -76,6 +76,7 @@ module Net; module SSH; module Transport } ) } + options[:msfmodule].add_socket(@socket) end @socket.extend(PacketStream)