Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
move debugger_running to correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny authored and ry committed Sep 25, 2011
1 parent 9e09fc0 commit 2c9bcb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.cc
Expand Up @@ -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.
Expand All @@ -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) {
Expand Down

0 comments on commit 2c9bcb2

Please sign in to comment.