diff --git a/src/node.cc b/src/node.cc index b46705943a9..99fd0eb80b4 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2404,6 +2404,7 @@ static void EnableDebugSignalHandler(int signal) { #if defined(__MINGW32__) || defined(_MSC_VER) static bool EnableDebugSignalHandler(DWORD signal) { + if (signal == CTRL_C_EVENT) exit(1); if (signal != CTRL_BREAK_EVENT) return false; // Break once process will return execution to v8