Compare commits

..

No commits in common. "b9e7bdb7349cc0c469800e42b309676fb5495be8" and "b218a9e877579fbb9c7b4fcf4dc6ab3dd67f3cce" have entirely different histories.

View File

@ -4462,9 +4462,9 @@ private:
sig_handler(int signo, siginfo_t* info, void* _ctx)
{
if (signo == SIGINT) {
if (user_sig_handler_) {
user_sig_handler_(signo);
}
if (user_sig_handler_) {
user_sig_handler_(signo);
}
_exit(EXIT_FAILURE);
}
handleSignal(signo, info, _ctx);
@ -4528,7 +4528,6 @@ public:
SetUnhandledExceptionFilter(crash_handler);
signal(SIGABRT, signal_handler);
signal(SIGINT, msignal_handler);
_set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);
std::set_terminate(&terminator);
@ -4630,13 +4629,6 @@ private:
abort();
}
static inline void msignal_handler(int sig)
{
if (user_sig_handler_) {
user_sig_handler_(sig);
}
}
static inline void __cdecl invalid_parameter_handler(const wchar_t*, const wchar_t*, const wchar_t*, unsigned int,
uintptr_t)
{