Browse Source

debugger: double ctrl+break on win should exit node

Fixes #1780.
v0.7.4-release
Fedor Indutny 13 years ago
committed by Ryan Dahl
parent
commit
0a42266824
  1. 5
      src/node.cc

5
src/node.cc

@ -2384,9 +2384,12 @@ static bool EnableDebugSignalHandler(DWORD signal) {
if (!debugger_running) {
fprintf(stderr, "Hit Ctrl+Break - starting debugger agent.\n");
EnableDebug(false);
return true;
} else {
// Run default system action (terminate)
return false;
}
return true;
}
#endif

Loading…
Cancel
Save