Commit 37547d33 authored by liujiangnan's avatar liujiangnan

debug

parent ceefbccf
...@@ -513,9 +513,10 @@ export default class NewClass extends middleLayerBase { ...@@ -513,9 +513,10 @@ 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) {
item.destroy(); console.log(item._texture);
// console.log(item); // 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