mirror of
https://github.com/MCLCE/MinecraftConsoles.git
synced 2026-07-03 04:04:19 +00:00
Windows: More proper shutdown
This commit is contained in:
@@ -1054,7 +1054,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
}
|
||||
#endif
|
||||
MSG msg = {0};
|
||||
while( WM_QUIT != msg.message )
|
||||
while( WM_QUIT != msg.message && !app.m_bShutdown)
|
||||
{
|
||||
if( PeekMessage( &msg, NULL, 0, 0, PM_REMOVE ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user