From 8cd85f60c81087db1e26b7f7a7128cd63af73da1 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Tue, 17 Dec 2024 20:14:20 +0000 Subject: [PATCH] Change the exit function to not call static destructors. --- UnleashedRecomp/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnleashedRecomp/app.cpp b/UnleashedRecomp/app.cpp index b45d71f9..ac936fc7 100644 --- a/UnleashedRecomp/app.cpp +++ b/UnleashedRecomp/app.cpp @@ -15,7 +15,7 @@ void App::Restart(std::vector restartArgs) void App::Exit() { Config::Save(); - std::exit(0); + std::_Exit(0); } // CApplication::Ctor