Commit 0bf5fa9e authored by 李维's avatar 李维

去掉无用的注释

parent 93011a28
......@@ -297,7 +297,6 @@ export default class PageViewerClass extends cc.Component {
this.runGC();
this.courseBackViewName = viewName;
this[PageMap[viewName]].active = false;
this.destroyPage(this[PageMap[viewName]])
}
courseClose() {
......
......@@ -485,13 +485,12 @@ export abstract class middleLayerBase extends cc.Component {
deepDrog(child);
});
}
// 暂时注释掉
deepDrog(cc.find("Canvas"));
// 释放远程加载的资源
cc.assetManager.assets.forEach(item => {
if (item.nativeUrl.indexOf(`h5template`) == -1 && item.nativeUrl.indexOf(`dist`) == -1 && item.nativeUrl.indexOf(`http`) > -1) {
console.log("Release: " + item.nativeUrl)
// console.log("Release: " + item.nativeUrl)
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