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 committed Dec 21, 2021
1 parent 42b7b7d commit 299c15f
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(segfault_handler);
#else
struct sigaction sa;
memset(&sa, 0, sizeof(struct sigaction));
Expand Down

0 comments on commit 299c15f

Please sign in to comment.