mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 11:25:42 -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)
|
||||
SaveResumeState();
|
||||
|
||||
if (s_system_executing)
|
||||
s_state = State::Stopping;
|
||||
else
|
||||
s_state = State::Stopping;
|
||||
if (!s_system_executing)
|
||||
DestroySystem();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user