I’m coding for aiplay (marmalade).
I know this topic was discussed before:
But it’s still unclear how to properly exit from application. CCDirector::sharedDirector()
>end purges all data and terminates GL view but who should call exit then? How does my application know director finished purging?>onExit() - but this is before all data cleared so I cannot call exit() in my scene::onExit().
void CCDirector::purgeDirector cals m_pRunningScene
Shouldn’t director somehow notify AppDelegate he finished purging?