mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-18 18:58:55 +02:00
Merge pull request #691 from Armada651/veto_fix
CFrame: Handle close events that can't be vetoed.
This commit is contained in:
@ -806,7 +806,10 @@ void CFrame::OnRenderParentClose(wxCloseEvent& event)
|
||||
if (Core::GetState() != Core::CORE_UNINITIALIZED)
|
||||
{
|
||||
DoStop();
|
||||
event.Veto();
|
||||
if (event.CanVeto())
|
||||
{
|
||||
event.Veto();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user