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

Commit

Permalink
Don't attempt to capture SIGUSR1
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Jan 4, 2011
1 parent 3c330b0 commit b7b0c92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/node.cc
Expand Up @@ -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.
Expand Down

0 comments on commit b7b0c92

Please sign in to comment.