mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-23 06:43:56 +00:00
Windows: More proper shutdown
This commit is contained in:
parent
b865228eed
commit
3db164d913
3 changed files with 5 additions and 3 deletions
|
|
@ -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 ) )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue