CommonHostInterface: Fix crash on shutdown when using save state selector
This commit is contained in:
parent
e731c87757
commit
9bb278b166
3 changed files with 7 additions and 9 deletions
|
|
@ -48,7 +48,11 @@ bool HostInterface::Initialize()
|
|||
return true;
|
||||
}
|
||||
|
||||
void HostInterface::Shutdown() {}
|
||||
void HostInterface::Shutdown()
|
||||
{
|
||||
if (!System::IsShutdown())
|
||||
System::Shutdown();
|
||||
}
|
||||
|
||||
void HostInterface::CreateAudioStream()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue