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

This commit is contained in:
Silent 2019-06-27 09:58:26 +02:00
parent 8940a9d9f1
commit 71ab845564
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1

View File

@ -193,7 +193,6 @@ CGEDebugger::CGEDebugger(HINSTANCE _hInstance, HWND _hParent)
}
CGEDebugger::~CGEDebugger() {
DestroyWindow(displayList->GetHWND());
CleanupPrimPreview();
delete flags;
delete lighting;