mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
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