Commit 504cf1e4 authored by 范雪寒's avatar 范雪寒

fix: 退出时爆闪

parent 6cc1644e
......@@ -276,7 +276,7 @@ cc.Class({
.call(() => {
exitBtn.active = false;
cc.game.removePersistRootNode(this.node);
cc.director.getScene().destroy();
// cc.director.getScene().destroy();
cc.audioEngine.stopAll();
window.courseware.freeAllOcMethod();
cc.director.loadScene("debug_shell", null, null, (err, scene) => {
......
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