Commit 63576100 authored by liujiangnan's avatar liujiangnan

debug

parent 53fce713
......@@ -505,7 +505,11 @@ export default class NewClass extends middleLayerBase {
cc.game.removePersistRootNode(this.node);
cc.audioEngine.stopAll();
(<any>window).courseware.freeAllOcMethod();
cc.assetManager.releaseAll();
// cc.assetManager.releaseAll();
const bd = cc.assetManager.getBundle(this.oldSceneName);
bd.releaseAll();
cc.director.loadScene("middleLayer_for_debug", (err, scene) => {
this.showUI();
// 手机端强制垃圾回收
......
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