Patch #2513 2008-07-08 07:04
dermeister
Fix: Crash when clicking the close-button twice- Download
- 2513-Fix_Crash_when.patch (412 bytes)
Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp (revision 5106)
+++ src/src/main.cpp (working copy)
@@ -2577,6 +2577,9 @@
void MainFrame::OnApplicationClose(wxCloseEvent& event)
{
+ if (m_InitiatedShutdown)
+ return;
+
CodeBlocksEvent evt(cbEVT_APP_START_SHUTDOWN);
Manager::Get()->ProcessEvent(evt);
Manager::Yield();
History
dermeister 2008-07-08 07:04
See this thread for more information on the fixed bug: