From 71ab845564f6fcc4ad3d8a42ce4956bc36cf9ca5 Mon Sep 17 00:00:00 2001 From: Silent Date: Thu, 27 Jun 2019 09:58:26 +0200 Subject: [PATCH] Windows: Fix an exit crash by not destroying the window in CGEDebugger destructor - this window (and displayList) have already been destroyed and freed at that point --- Windows/GEDebugger/GEDebugger.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Windows/GEDebugger/GEDebugger.cpp b/Windows/GEDebugger/GEDebugger.cpp index 9f20c87d36..384849aedd 100644 --- a/Windows/GEDebugger/GEDebugger.cpp +++ b/Windows/GEDebugger/GEDebugger.cpp @@ -193,7 +193,6 @@ CGEDebugger::CGEDebugger(HINSTANCE _hInstance, HWND _hParent) } CGEDebugger::~CGEDebugger() { - DestroyWindow(displayList->GetHWND()); CleanupPrimPreview(); delete flags; delete lighting;