Wait for wxWidgets to destroy window.

This commit is contained in:
Jeff Young
2025-03-31 15:14:59 +01:00
parent 141097549c
commit 4ae4f9ea87
-1
View File
@@ -232,7 +232,6 @@ void GERBVIEW_FRAME::doCloseWindow()
// No more vetos
m_isClosing = true;
GetCanvas()->StopDrawing();
GetCanvas()->GetView()->Clear();
if( m_toolManager )
m_toolManager->DeactivateTool();