mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-19 02:57:28 +00:00
Stop timers on closing Atlas
Otherwise we might try to render a view when half the infrastructure is already taken down, which results in segfaults or asserts. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -699,6 +699,9 @@ void ScenarioEditor::OnClose(wxCloseEvent& event)
|
||||
}
|
||||
}
|
||||
|
||||
m_Timer.Stop();
|
||||
m_RenderTimer.Stop();
|
||||
|
||||
m_ToolManager.SetCurrentTool(_T(""));
|
||||
|
||||
m_FileHistory.SaveToSubDir(*wxConfigBase::Get());
|
||||
|
||||
Reference in New Issue
Block a user