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:
Ralph Sennhauser
2026-07-11 11:08:55 +02:00
parent 16188c7305
commit f4bb99094d
@@ -699,6 +699,9 @@ void ScenarioEditor::OnClose(wxCloseEvent& event)
}
}
m_Timer.Stop();
m_RenderTimer.Stop();
m_ToolManager.SetCurrentTool(_T(""));
m_FileHistory.SaveToSubDir(*wxConfigBase::Get());