We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Replace CCObject with RefCount
Replace CCObject with RefCount
Refactor #3713 [Closed]
zhangxm 2014-01-15 07:14
. Updated almost 10 years ago
- Remove _autoReleaseCount from RefCount. It won’t be needed, since AutoRelease Pool will retain it.
- Make “AutoReleasePool” an “stack” object.
- Don’t inherit from RefCount when it is not needed. Eg: Singletons don’t need to inherit from RefCount.