Shutdown logging when a fatal error occurs, this fixes the error not showing up in the log file

This commit is contained in:
Jonathan Goyvaerts 2019-04-19 13:31:34 +02:00
parent c949ce3d9c
commit eb5baa41bb
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ void FatalError(const char* fmt, ...) {
MB_OK | MB_ICONERROR | MB_APPLMODAL | MB_SETFOREGROUND);
}
#endif // WIN32
ShutdownLogging();
exit(1);
}