Shutdown logging when a fatal error occurs, this fixes the error not showing up in the log file
This commit is contained in:
@@ -325,7 +325,7 @@ void FatalError(const char* fmt, ...) {
|
|||||||
MB_OK | MB_ICONERROR | MB_APPLMODAL | MB_SETFOREGROUND);
|
MB_OK | MB_ICONERROR | MB_APPLMODAL | MB_SETFOREGROUND);
|
||||||
}
|
}
|
||||||
#endif // WIN32
|
#endif // WIN32
|
||||||
|
ShutdownLogging();
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user