Commit 449fbcd7 authored by liujiangnan's avatar liujiangnan

debug

parent 7e3ed0fc
...@@ -218,6 +218,7 @@ cc.Class({ ...@@ -218,6 +218,7 @@ cc.Class({
.call(() => { .call(() => {
exitBtn.active = false; exitBtn.active = false;
cc.game.removePersistRootNode(this.node); cc.game.removePersistRootNode(this.node);
this.node.destory();
cc.director.loadScene("debug_shell", () => { cc.director.loadScene("debug_shell", () => {
}); });
}) })
......
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