Merge pull request #1369 from jgoyvaerts/logger_fix

[Base] Flush the logger before exiting on a fatal error.
This commit is contained in:
Rick Gibbed 2019-05-11 11:45:00 -05:00 committed by GitHub
commit e51686bbac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,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);
} }