Commit ea13d8c1 authored by liujiangnan's avatar liujiangnan

debug

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