Commit 96367531 authored by huoshizhe's avatar huoshizhe

fix: 退出按钮问题

parent 7f8d797d
...@@ -102,7 +102,9 @@ cc.Class({ ...@@ -102,7 +102,9 @@ cc.Class({
}, },
onDestroy: function () { onDestroy: function () {
g.event_pump.unReg("adjustUI"); if (g.event_pump) {
g.event_pump.unReg("adjustUI");
}
}, },
settopUI: function (s) { settopUI: function (s) {
if (!g.data_mgr.phoneInfo) { if (!g.data_mgr.phoneInfo) {
......
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