fix release spine/dragonbones resouce (#13419)

This commit is contained in:
zhakesi
2022-11-18 10:10:16 +08:00
committed by GitHub
parent e663402c1a
commit 91031c7dad
2 changed files with 2 additions and 0 deletions
@@ -54,6 +54,7 @@ SkeletonCacheAnimation::SkeletonCacheAnimation(const std::string &uuid, bool isS
_skeletonCache->addRef();
} else {
_skeletonCache = new SkeletonCache();
_skeletonCache->addRef();
_skeletonCache->initWithUUID(uuid);
}