cocos2d/cocos2d-x — pull request #600 by dumganhar (2011-12-01 05:59:34+00:00)
Title: fix a bug in IntervalTest

When IntervalTestLayer was destoryed, should resume interval.Otherwise the FPS will remain to 4.0.
IntervalLayer::~IntervalLayer()
{
if(CCDirector::sharedDirector()->isPaused())
{
CCDirector::sharedDirector()->resume();
}
}