cocos2d/cocos2d-x — pull request #2247 by hailongiPhone (2013-03-22 07:08:50+00:00)
Title: release && set nil

First destroy CCDirector instance with cocos2d::CCDirector::sharedDirector()->end()

Then create new CCDirector instance with
cocos2d::CCApplication::sharedApplication()->run();

APP will crash at
CCApplication::setAnimationInterval

[[CCDirectorCaller sharedDirectorCaller] setAnimationInterval: interval ];