cocos2d/cocos2d-x — pull request #1688 by dumganhar (2012-12-01 03:46:46+00:00)
Title: Some fixes for jsbinding.

* Invoking *JS_SetGCZeal* only when the macros *DEBUG* and *JS_GC_ZEAL* is defined.
* Invoking removeAllRoots in ScriptingCore destructor to avoid crash when app exits.
* Native object( *CCPhysicsSprite* and *CCPhysicsDebugNode* ) need to be an autorelease object.