mirror of https://github.com/nodejs/node.git
parent
af014c1a5e
commit
d3f3f2e455
|
@ -2404,6 +2404,7 @@ static void EnableDebugSignalHandler(int signal) {
|
||||||
|
|
||||||
#if defined(__MINGW32__) || defined(_MSC_VER)
|
#if defined(__MINGW32__) || defined(_MSC_VER)
|
||||||
static bool EnableDebugSignalHandler(DWORD signal) {
|
static bool EnableDebugSignalHandler(DWORD signal) {
|
||||||
|
if (signal == CTRL_C_EVENT) exit(1);
|
||||||
if (signal != CTRL_BREAK_EVENT) return false;
|
if (signal != CTRL_BREAK_EVENT) return false;
|
||||||
|
|
||||||
// Break once process will return execution to v8
|
// Break once process will return execution to v8
|
||||||
|
|
Loading…
Reference in New Issue