Do not signal APTHOOK_ONRESTORE when the app is being closed
This commit is contained in:
parent
266ab2fe42
commit
68fbd06375
@ -574,6 +574,7 @@ bool aptMainLoop()
|
||||
case APP_SUSPENDING:
|
||||
aptCallHook(APTHOOK_ONSUSPEND);
|
||||
aptReturnToMenu();
|
||||
if (aptGetStatus() == APP_RUNNING)
|
||||
aptCallHook(APTHOOK_ONRESTORE);
|
||||
break;
|
||||
case APP_APPLETSTARTED:
|
||||
|
Loading…
Reference in New Issue
Block a user