Commit b14e1174 authored by liujiangnan's avatar liujiangnan

feat

parent 32c3e06a
......@@ -521,13 +521,17 @@ export default class NewClass extends middleLayerBase {
cc.sys.garbageCollect();
setTimeout(() => {
cc.sys.garbageCollect();
cc.assetManager.assets.forEach(item => {
if(item.nativeUrl.indexOf("http")>-1) {
cc.assetManager.releaseAsset(item);
}
});
setTimeout(() => {
cc.sys.garbageCollect();
}, 2000);
}, 2000);
}, 2000);
}, 2000);
......
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