Commit 38d12fb7 authored by 李维's avatar 李维

销毁时停止计时器

parent 43387fb5
...@@ -8231,6 +8231,7 @@ cc.Class({ ...@@ -8231,6 +8231,7 @@ cc.Class({
onDestroy() { onDestroy() {
this.isDestroy = true; this.isDestroy = true;
this.stopHelper(); // 停止计时器
}, },
......
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