diff options
| author | APAmk2 <107351397+APAmk2@users.noreply.github.com> | 2026-03-01 22:13:44 +0400 |
|---|---|---|
| committer | APAmk2 <107351397+APAmk2@users.noreply.github.com> | 2026-03-01 22:13:44 +0400 |
| commit | 3db164d913a0e6e464cc9f32c6c471cbea7a46e7 (patch) | |
| tree | 3a5d3f9a60fd4f301d940589b4855be327f46e89 /Minecraft.Client/Windows64/Windows64_Minecraft.cpp | |
| parent | b865228eed3880c47a36f3c6c581e64297c59e67 (diff) | |
Windows: More proper shutdown
Diffstat (limited to 'Minecraft.Client/Windows64/Windows64_Minecraft.cpp')
| -rw-r--r-- | Minecraft.Client/Windows64/Windows64_Minecraft.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp index 42fb2d44..7fe77632 100644 --- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp +++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp @@ -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 ) ) { |
