Commit ea13d8c1 authored by liujiangnan's avatar liujiangnan

debug

parent 37547d33
...@@ -513,10 +513,8 @@ export default class NewClass extends middleLayerBase { ...@@ -513,10 +513,8 @@ export default class NewClass extends middleLayerBase {
cc.assetManager.assets.forEach(item => { cc.assetManager.assets.forEach(item => {
if(item.nativeUrl.indexOf("http")>-1) { if(item.nativeUrl.indexOf("http")>-1) {
console.log(item._texture); item.decRef();
// const text = item.getImpl(); cc.assetManager.releaseAsset(item);
// console.log(text);
cc.assetManager.releaseAsset(item._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