msvcrt: Don't set unhandled exception filter, XcptFilter is responsible for handling signals.
This commit is contained in:
parent
8e5bebe262
commit
62e00e527f
|
@ -152,13 +152,11 @@ static LONG WINAPI msvcrt_exception_filter(struct _EXCEPTION_POINTERS *except)
|
||||||
void msvcrt_init_signals(void)
|
void msvcrt_init_signals(void)
|
||||||
{
|
{
|
||||||
SetConsoleCtrlHandler(msvcrt_console_handler, TRUE);
|
SetConsoleCtrlHandler(msvcrt_console_handler, TRUE);
|
||||||
SetUnhandledExceptionFilter(msvcrt_exception_filter);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void msvcrt_free_signals(void)
|
void msvcrt_free_signals(void)
|
||||||
{
|
{
|
||||||
SetConsoleCtrlHandler(msvcrt_console_handler, FALSE);
|
SetConsoleCtrlHandler(msvcrt_console_handler, FALSE);
|
||||||
SetUnhandledExceptionFilter(NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
|
|
Loading…
Reference in New Issue