mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 02:02:41 +08:00
58a6059e0c
* Fix spine memory leak when restarting game. * Fix memory leaks in js_se_setExceptionCallback and nativevalue_to_se(const cc::Data &from, ...) * Cleanup all hooks after 'AfterCleanupHookArray' is executed since user may add hooks in 'AfterCleanupHook' by mistake. For example which in SharedBufferManager::afterCleanupHandle. * Fix a memory leak in `operator=(TypedArrayTemp &&o) * Fix spine memory leak, use PersistentHandleVisitor to iterate JSB objects in Object::cleanup. * Update Class.cpp, use only one internal field. * Remove JSB mapping in visitor callback.