mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 19:15:41 -04:00
System: Mark the VM as Stopping in ShutdownSystem unconditionally
Fixes an issue where Discord RPC didn't revert to "No Game Running" on shutdown.
This commit is contained in:
parent
d08a40bcd8
commit
8d491d3faa
@ -4138,9 +4138,8 @@ void System::ShutdownSystem(bool save_resume_state)
|
|||||||
if (save_resume_state)
|
if (save_resume_state)
|
||||||
SaveResumeState();
|
SaveResumeState();
|
||||||
|
|
||||||
if (s_system_executing)
|
|
||||||
s_state = State::Stopping;
|
s_state = State::Stopping;
|
||||||
else
|
if (!s_system_executing)
|
||||||
DestroySystem();
|
DestroySystem();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user