Skip to content

Commit

Permalink
fix: not fire on handled exs in win32
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesseyx authored Dec 21, 2021
1 parent 42b7b7d commit b81e016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/segfault-handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ NAN_METHOD(RegisterHandler) {
}

#ifdef _WIN32
AddVectoredExceptionHandler(1, segfault_handler);
SetUnhandledExceptionFilter(1, segfault_handler);
#else
struct sigaction sa;
memset(&sa, 0, sizeof(struct sigaction));
Expand Down

0 comments on commit b81e016

Please sign in to comment.