Hi Guys,
I’m coding for aiplay (marmalade).
I know this topic was discussed before:
http://www.cocos2d-x.org/boards/7/topics/1088
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?
Thanks,
Alex