CommonHostInterface: Fix crash on shutdown when using save state selector

This commit is contained in:
Connor McLaughlin committed 2020-09-06 21:03:27 +10:00
1 parent e731c87757
commit 9bb278b166
3 files changed
+7 -9

No files matched your search

+5 -1
View File
@@ -48,7 +48,11 @@ bool HostInterface::Initialize()
return true;
}
void HostInterface::Shutdown() {}
void HostInterface::Shutdown()
{
if (!System::IsShutdown())
System::Shutdown();
}
void HostInterface::CreateAudioStream()
{