Merge pull request #1755 from Armada651/master

Frame: Fix a crash-on-exit on Mac OS X.
This commit is contained in:
Ryan Houdek 2014-12-21 20:04:48 -06:00
commit 9ec4a64c54

View File

@ -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;
}