diff --git a/src/node.cc b/src/node.cc index e80c1a573f50..6d4d212bfb72 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2962,6 +2962,7 @@ char** Init(int argc, char *argv[]) { V8::SetFlagsFromCommandLine(&v8argc, v8argv, false); #ifdef __POSIX__ + uv_loop_configure(uv_default_loop(), UV_LOOP_BLOCK_SIGNAL, SIGPROF); // Ignore SIGPIPE RegisterSignalHandler(SIGPIPE, SIG_IGN); RegisterSignalHandler(SIGINT, SignalExit);