From 2c9bcb28be213b01c559d200f144ef283a706281 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Sat, 24 Sep 2011 13:04:35 +0700 Subject: [PATCH] move debugger_running to correct place --- src/node.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.cc b/src/node.cc index 1cd6bc0b0e7..9de3fb91a4a 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2338,6 +2338,7 @@ static void ParseArgs(int argc, char **argv) { option_end_index = i; } +static volatile bool debugger_running = false; static void EnableDebug(bool wait_connect) { // Start the debug thread and it's associated TCP server on port 5858. @@ -2362,7 +2363,6 @@ static void EnableDebug(bool wait_connect) { static volatile bool hit_signal; -static volatile bool debugger_running = false; static void DebugSignalCB(const Debug::EventDetails& details) {