Commit bb0c5843 authored by limingzhe's avatar limingzhe

fix: debug

parent 5308a020
......@@ -1617,12 +1617,18 @@ cc.Class({
this.hideLight();
this.hideCurOptionAnim(() => {
if (this.isDestroy) {
return;
}
this.setCurOption();
this.showCurOptionAnim();
this.hideMask();
});
this.hideCurQuestion(() => {
if (this.isDestroy) {
return;
}
this.setCurQuestion();
this.showCurQuestionAnim();
});
......@@ -2907,6 +2913,8 @@ cc.Class({
}
},
onDestroy() {
this.isDestroy = true;
}
});
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