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