forked from Ports/perfect_dark
port: only disable crash handlers if they were installed
This commit is contained in:
1 parent
b8e6e19ef5
commit
abf5703036
1 file changed
+3
@@ -310,6 +310,9 @@ void crashInit(void)
|
||||
|
||||
void crashShutdown(void)
|
||||
{
|
||||
if (!g_CrashEnabled) {
|
||||
return;
|
||||
}
|
||||
#ifdef PLATFORM_WIN32
|
||||
if (prevExFilter) {
|
||||
SetUnhandledExceptionFilter(prevExFilter);
|
||||
|
||||
Reference in new issue
Block a user