Fixed an issue that caused the log to not be flushed during emergency shutdown.

This commit is contained in:
Leon Styhre 2021-01-12 23:11:23 +01:00
parent f25973f9b9
commit 7e7ba0aac8

View file

@ -237,7 +237,6 @@ void emergencyShutdown()
LOG(LogError) << "Critical - Performing emergency shutdown...";
MameNames::deinit();
AudioManager::getInstance()->deinit();
// Most of the SDL deinitialization is done in Renderer.
Renderer::deinit();
Log::flush();