From 8cbc98fc4771298641eec3d9341e0d3e1b26044f Mon Sep 17 00:00:00 2001 From: rwhitcroft Date: Mon, 6 Apr 2015 16:21:07 -0400 Subject: [PATCH] fix #5074 - missing thread join --- lib/msf/ui/console/command_dispatcher/core.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/msf/ui/console/command_dispatcher/core.rb b/lib/msf/ui/console/command_dispatcher/core.rb index 45305ae514..8366311251 100644 --- a/lib/msf/ui/console/command_dispatcher/core.rb +++ b/lib/msf/ui/console/command_dispatcher/core.rb @@ -629,6 +629,8 @@ class Core n2c.kill end + c2n.join + n2c.join sock.close rescue nil infile.close if infile