1
0
Fork 0

source/Platform/Win32/Win32Display.cpp: don't call destroy() on WM_DESTROY as the window is already destroyed if we get this event.

This commit is contained in:
Henrik Hautakoski 2020-11-13 00:11:40 +01:00
parent 2da0f7e712
commit 5d433a7b80

View file

@ -292,7 +292,6 @@ void Win32Display::processMessage(UINT message, WPARAM wParam, LPARAM lParam)
}
break;
case WM_DESTROY :
destroy();
PostQuitMessage(0);
break;
case WM_SETFOCUS :