Commit Graph

9 Commits

Author SHA1 Message Date
James Chen 58a6059e0c Fix spine memory leak when restarting game and fix memory leaks in js_se_setExceptionCallback and nativevalue_to_se(const cc::Data &from, ...) (#12206)
* 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.
2022-07-28 15:17:44 +08:00
zhakesi edcf75ec9d fix:when skelton data destory clean all data. (#3800) 2021-08-06 16:33:56 +08:00
owen ab49c62d0f 3.0 spine native sdk (#3136) 2020-12-24 10:14:18 +08:00
pandamicro 7aa8691ca3 Cleanup and add 3d renderer sources 2019-10-17 14:50:54 +08:00
2youyouo2 d3bb1da7bb fixed android build 2019-07-18 17:22:39 +08:00
owen d36d15a101 Fix spine texture index missing bug 2019-07-16 15:31:56 +08:00
owen cc0077e7fe spine 2019-06-10 15:53:59 +08:00
owen f92d9f196d modify SkeletonDataMgr license (#1710) 2019-04-08 11:51:44 +08:00
owen 0acb69851b optimize spine memory (#1694)
* Optimize spine memory

* roll back genbindings.py
Remove unused function

* visual studio project config

* modify Android mk

* Modify default project config

* Fix restart vm crash

* Fix if listen spine dispose event, will triggle crash bug

* Move some function to private

* move release skeletondata behind depose skeleton

* optimize spine load file

* Add dragon bones and spine global time scale api

* clear tracks and listener

* change tab to 4 spaces

* optimized code logic
2019-03-12 11:51:51 +08:00