mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-28 05:11:37 +00:00
Use std::exit.
This commit is contained in:
parent
32e52a13ff
commit
dd23b2efc0
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue