Use std::exit.

This commit is contained in:
Dario 2024-12-16 23:38:10 -03:00
parent 32e52a13ff
commit dd23b2efc0

View file

@ -15,10 +15,7 @@ void App::Restart(std::vector<std::string> restartArgs)
void App::Exit() void App::Exit()
{ {
Config::Save(); Config::Save();
std::exit(0);
#if _WIN32
ExitProcess(0);
#endif
} }
// CApplication::Ctor // CApplication::Ctor