GLB_ON_QUIT?

Previous topic - Next topic

AlienMenace

It seems I am having an issue with GLB_ON_QUIT not being called in my iPhone app. I have fast task-switching enabled (GLB_ON_PAUSE/GLB_ON_RESUME) and working good but the program just won't run the GLB_ON_QUIT subroutine when I exiting the program (killing it while paused from the fast-task switch panel).

I have ALLOWESCAPE FALSE and AUTOPAUSE TRUE at the top of my code and my main loop is setup this way:

WHILE TRUE

WEND
END

Is this enough or do I need to add something else? I am stumped.
Thank you.
Apps published: 3

MrTAToad

Might be worth re-posting this as a bug report - just in case it is

Kitty Hello

Yes. Please in GLB_ON_QUIT _and_ GLB_ON_PAUSE call the code to store your savegame data.

If you kill an app running in the background, the iOS will "pkill" it - no lnie of code will be executed anymore, no notification given.

AlienMenace

Thanks Kitty.
Apps published: 3