aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Windows64/Windows64_App.cpp
diff options
context:
space:
mode:
authorAPAmk2 <107351397+APAmk2@users.noreply.github.com>2026-03-01 22:13:44 +0400
committerAPAmk2 <107351397+APAmk2@users.noreply.github.com>2026-03-01 22:13:44 +0400
commit3db164d913a0e6e464cc9f32c6c471cbea7a46e7 (patch)
tree3a5d3f9a60fd4f301d940589b4855be327f46e89 /Minecraft.Client/Windows64/Windows64_App.cpp
parentb865228eed3880c47a36f3c6c581e64297c59e67 (diff)
Windows: More proper shutdown
Diffstat (limited to 'Minecraft.Client/Windows64/Windows64_App.cpp')
-rw-r--r--Minecraft.Client/Windows64/Windows64_App.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.Client/Windows64/Windows64_App.cpp b/Minecraft.Client/Windows64/Windows64_App.cpp
index a8b2d9cc..bba33cad 100644
--- a/Minecraft.Client/Windows64/Windows64_App.cpp
+++ b/Minecraft.Client/Windows64/Windows64_App.cpp
@@ -14,6 +14,7 @@ CConsoleMinecraftApp app;
CConsoleMinecraftApp::CConsoleMinecraftApp() : CMinecraftApp()
{
+ m_bShutdown = false;
}
void CConsoleMinecraftApp::SetRichPresenceContext(int iPad, int contextId)
@@ -26,8 +27,7 @@ void CConsoleMinecraftApp::StoreLaunchData()
}
void CConsoleMinecraftApp::ExitGame()
{
- // This is likely not the correct way to exit the game, but it will do for now
- ExitProcess(0);
+ m_bShutdown = true;
}
void CConsoleMinecraftApp::FatalLoadError()
{