From 6e684d46f28363fb917fc5d0b2f1d51f9e2fc649 Mon Sep 17 00:00:00 2001 From: Alex Watt Date: Mon, 10 Aug 2015 12:07:29 -0400 Subject: [PATCH] Ensure exceptions don't interfere with `busy` --- lib/rex/ui/text/dispatcher_shell.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rex/ui/text/dispatcher_shell.rb b/lib/rex/ui/text/dispatcher_shell.rb index faa889eecb..c925e843a4 100644 --- a/lib/rex/ui/text/dispatcher_shell.rb +++ b/lib/rex/ui/text/dispatcher_shell.rb @@ -426,6 +426,7 @@ module DispatcherShell else dispatcher.send('cmd_' + method, *arguments) end + ensure self.busy = false end