aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Windows64/Windows64_App.cpp
diff options
context:
space:
mode:
authorvoid_17 <61356189+void2012@users.noreply.github.com>2026-03-02 01:28:47 +0700
committerGitHub <noreply@github.com>2026-03-02 01:28:47 +0700
commit99a8c53bc1f84042e682a67abbd3f49d4b94dba8 (patch)
tree6259d92e3482af0151ff69e80bc2c33b530d698a /Minecraft.Client/Windows64/Windows64_App.cpp
parent3bf5db95841e950c0d4424f542a692fcd8b29642 (diff)
parent3db164d913a0e6e464cc9f32c6c471cbea7a46e7 (diff)
Merge pull request #33 from APAmk2/main
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()
{