From 5d433a7b806891f5914fe3bf23a01031896d90cd Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Fri, 13 Nov 2020 00:11:40 +0100 Subject: [PATCH] source/Platform/Win32/Win32Display.cpp: don't call destroy() on WM_DESTROY as the window is already destroyed if we get this event. --- source/Platform/Win32/Win32Display.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/Platform/Win32/Win32Display.cpp b/source/Platform/Win32/Win32Display.cpp index f9bc72c..de68f77 100644 --- a/source/Platform/Win32/Win32Display.cpp +++ b/source/Platform/Win32/Win32Display.cpp @@ -292,7 +292,6 @@ void Win32Display::processMessage(UINT message, WPARAM wParam, LPARAM lParam) } break; case WM_DESTROY : - destroy(); PostQuitMessage(0); break; case WM_SETFOCUS :