mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00: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
1 changed files with 2 additions and 1 deletions
|
@ -577,6 +577,7 @@ void CFrame::OnClose(wxCloseEvent& event)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Close the log window now so that its settings are saved
|
// Close the log window now so that its settings are saved
|
||||||
|
if (m_LogWindow)
|
||||||
m_LogWindow->Close();
|
m_LogWindow->Close();
|
||||||
m_LogWindow = nullptr;
|
m_LogWindow = nullptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue