Browse Source

Don't attempt to capture SIGUSR1

v0.7.4-release
Bert Belder 14 years ago
parent
commit
b7b0c92ac1
  1. 2
      src/node.cc

2
src/node.cc

@ -2079,10 +2079,12 @@ int Start(int argc, char *argv[]) {
if (node::use_debug_agent) {
EnableDebug(debug_wait_connect);
} else {
#ifdef __POSIX__
RegisterSignalHandler(SIGUSR1, EnableDebugSignalHandler);
ev_async_init(&enable_debug, EnableDebug2);
ev_async_start(EV_DEFAULT_UC_ &enable_debug);
ev_unref(EV_DEFAULT_UC);
#endif // __POSIX__
}
// Create the one and only Context.

Loading…
Cancel
Save