mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
applet: use _appletCleanup instead of appletExit in _appletExitProcess
The service guard prevented appletExit from being called multiple times, so call _appletCleanup instead.
This commit is contained in:
parent
2f7d9bf026
commit
488c94f263
@ -334,7 +334,7 @@ static void _appletInfiniteSleepLoop(void) {
|
||||
}
|
||||
|
||||
static void NORETURN _appletExitProcess(int result_code) {
|
||||
appletExit();
|
||||
_appletCleanup();
|
||||
|
||||
if (R_SUCCEEDED(g_appletExitProcessResult)) _appletInfiniteSleepLoop();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user