Skip to content

Commit b81e016

Browse files
authored
fix: not fire on handled exs in win32
See ddopson#79
1 parent 42b7b7d commit b81e016

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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(1, segfault_handler);
330330
#else
331331
struct sigaction sa;
332332
memset(&sa, 0, sizeof(struct sigaction));

0 commit comments

Comments
 (0)