I’m replace current scene with CCTransitionFade (set big time to see), and if application closed at transition, crash happened.
Try to do this:
replace current scene to
next_scene must contain layer with keypad enabled and at least one sprite.
When applications begin transition - close it and take a crash.
Pullrequest sended by me not totally correct.
But having CCKeypadDispatcher::sharedDispatcher()->purgeSharedDispatcher() both in purgeDirector() and ~CCDirector() saves me.
I think problem in that fact that InScene in CCTransitionFade doesn’t recieve onExit if we close application when CCTransitionFade active. Hope that you can solve this bugzzle