Merge pull request #1755 from Armada651/master
Frame: Fix a crash-on-exit on Mac OS X.
This commit is contained in:
commit
9ec4a64c54
|
@ -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…
Reference in New Issue