mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 01:12:42 +08:00
fix release spine/dragonbones resouce (#13419)
This commit is contained in:
@@ -54,6 +54,7 @@ SkeletonCacheAnimation::SkeletonCacheAnimation(const std::string &uuid, bool isS
|
||||
_skeletonCache->addRef();
|
||||
} else {
|
||||
_skeletonCache = new SkeletonCache();
|
||||
_skeletonCache->addRef();
|
||||
_skeletonCache->initWithUUID(uuid);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user