mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Frame: Fix a crash-on-exit on Mac OS X.
A null pointer exception is triggered when Dolphin is quit from the dock.
This commit is contained in:
parent
8cd23f5334
commit
bcfd431e9a
@ -577,7 +577,8 @@ void CFrame::OnClose(wxCloseEvent& event)
|
||||
else
|
||||
{
|
||||
// Close the log window now so that its settings are saved
|
||||
m_LogWindow->Close();
|
||||
if (m_LogWindow)
|
||||
m_LogWindow->Close();
|
||||
m_LogWindow = nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user