From fb36b0ca566e7090ef3c7ec28ee63d9aaaf58623 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 3 Nov 2010 17:47:04 +0000 Subject: fixed debug shell cleanup bug --- src/main_loop.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main_loop.lua b/src/main_loop.lua index 40f2e9a..0283587 100644 --- a/src/main_loop.lua +++ b/src/main_loop.lua @@ -63,7 +63,9 @@ function main_loop(opt) if(return_value == 2) then return_value = 0 end - debug_shell.close(); + if(opt.debug) then + debug_shell.close(); + end signal.stop() return return_value end -- cgit v1.2.3