Skip to content

Commit 2b8fe57

Browse files
committed
change windows behavior to not fire on handled exs
1 parent 42b7b7d commit 2b8fe57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/segfault-handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ NAN_METHOD(RegisterHandler) {
326326
}
327327

328328
#ifdef _WIN32
329-
AddVectoredExceptionHandler(1, segfault_handler);
329+
SetUnhandledExceptionFilter(segfault_handler);
330330
#else
331331
struct sigaction sa;
332332
memset(&sa, 0, sizeof(struct sigaction));

0 commit comments

Comments
 (0)