i have problem with the function CCDirector::end()
when i finished my app by pressing the home button, the current running scene’s onExit() not called
so i check the CCDirector::end() function, found it only set the m_bPurgeDirecotorInNextLoop to true,
i donot know why,
if i directly call the purgeDirector() in the end(), everything is ok.