diff --git a/examples/common/entry/entry_windows.cpp b/examples/common/entry/entry_windows.cpp index 9beadc5e..b50a3504 100644 --- a/examples/common/entry/entry_windows.cpp +++ b/examples/common/entry/entry_windows.cpp @@ -355,7 +355,8 @@ namespace entry { destroyWindow(findHandle(_hwnd) ); } - break; + // Don't process message. Window will be destroyed later. + return 0; case WM_SIZING: {