Commit eaa8a0e6 authored by limingzhe's avatar limingzhe
parents 296dac9d 4079627e
...@@ -534,6 +534,7 @@ export abstract class middleLayerBase extends cc.Component { ...@@ -534,6 +534,7 @@ export abstract class middleLayerBase extends cc.Component {
this.textureList.forEach(texture => { this.textureList.forEach(texture => {
texture.decRef(); texture.decRef();
cc.assetManager.releaseAsset(texture);
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment