Forcibly terminate after a crash.

This commit is contained in:
Glenn Maynard
2004-02-23 00:47:18 +00:00
parent 9bd0ca032b
commit 6ff5eba04d
+4
View File
@@ -241,6 +241,10 @@ long __stdcall CrashHandler(EXCEPTION_POINTERS *pExc)
SetUnhandledExceptionFilter(NULL);
/* Forcibly terminate; if we keep going, we'll try to shut down threads and do other
* things that may deadlock, which is confusing for users. */
TerminateProcess( GetCurrentProcess(), 0 );
return EXCEPTION_EXECUTE_HANDLER;
}