mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Merge pull request #4302 from leoetlino/graceful-fixes
Minor fixes to graceful shutdown
This commit is contained in:
commit
ce5c8c28b2
5 changed files with 21 additions and 5 deletions
|
@ -615,8 +615,7 @@ void CFrame::OnClose(wxCloseEvent& event)
|
|||
event.Veto();
|
||||
}
|
||||
// Tell OnStopped to resubmit the Close event
|
||||
if (m_confirmStop)
|
||||
m_bClosing = true;
|
||||
m_bClosing = true;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1714,5 +1713,6 @@ void CFrame::HandleSignal(wxTimerEvent& event)
|
|||
{
|
||||
if (!s_shutdown_signal_received.TestAndClear())
|
||||
return;
|
||||
m_bClosing = true;
|
||||
Close();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue