Commit ec1139ba authored by limingzhe's avatar limingzhe

fix: debug

parent 908e5ff4
...@@ -1097,6 +1097,9 @@ cc.Class({ ...@@ -1097,6 +1097,9 @@ cc.Class({
}) })
delayCall(4, () => { delayCall(4, () => {
if (this.isDestroy) {
return;
}
if (isStart) { if (isStart) {
return; return;
...@@ -2522,6 +2525,11 @@ cc.Class({ ...@@ -2522,6 +2525,11 @@ cc.Class({
// playAudio(this.changeClip); // playAudio(this.changeClip);
await asyncDelay(1); await asyncDelay(1);
if (this.isDestroy) {
return;
}
this.hideCurQues(0.2); this.hideCurQues(0.2);
this.hideCurQuesLetter(0.2); this.hideCurQuesLetter(0.2);
...@@ -2534,6 +2542,11 @@ cc.Class({ ...@@ -2534,6 +2542,11 @@ cc.Class({
await asyncDelay(0.3); await asyncDelay(0.3);
if (this.isDestroy) {
return;
}
this.showCurQues(); this.showCurQues();
this.showCurQuesLetter(); this.showCurQuesLetter();
...@@ -8198,6 +8211,11 @@ cc.Class({ ...@@ -8198,6 +8211,11 @@ cc.Class({
for (let i = 0; i < 3; i++) { for (let i = 0; i < 3; i++) {
this.showFirework(pos, parentNode, nodeList, w, h, n, timeRate); this.showFirework(pos, parentNode, nodeList, w, h, n, timeRate);
await asyncDelay(0.1); await asyncDelay(0.1);
if (this.isDestroy) {
return;
}
} }
}, },
...@@ -9800,6 +9818,7 @@ cc.Class({ ...@@ -9800,6 +9818,7 @@ cc.Class({
if (this.isCanCheck) { if (this.isCanCheck) {
this.endTesting(); this.endTesting();
} }
this.isCanCheck = false;
}, },
......
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