node-segfault-handler
node-segfault-handler copied to clipboard
windows: replace AddVectoredExceptionHandler with SetUnhandledExceptionFilter
According to https://stackoverflow.com/questions/28629351/is-addvectoredexceptionhandler-a-replacement-for-setunhandledexceptionfilter AddVectoredExceptionHandler gets notified every time an exception gets thrown and does not take into account whether that exception actually gets handled by the program.
What we want is SetUnhandledExceptionFilter.