mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
Use _Exit instead of exit under Linux (#204)
The best ExitProcess alternative for Linux is _Exit since it doesn't call exit handlers.
This commit is contained in:
parent
6cdb6eed17
commit
f032088902
3 changed files with 4 additions and 2 deletions
|
@ -142,7 +142,7 @@ int CemuApp::OnExit()
|
|||
#if BOOST_OS_WINDOWS
|
||||
ExitProcess(0);
|
||||
#else
|
||||
exit(0);
|
||||
_Exit(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue