mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
3d5b98b8a0
More enum of char elements for saving more memory. EventTouch and EventMouse are cached. releaseScriptObject for scene should be placed at setNextScene. Fixes protential crash while gc comes for JSC and ChakraCore. Adds assertion in ScriptingCore::releaseScriptObject for not being invoked while gc. Scheduler binding fix.