1
This commit is contained in:
parent
492cb88b82
commit
bb10963a71
@ -292,6 +292,7 @@ namespace a8
|
|||||||
if (timer->timer_after_func) {
|
if (timer->timer_after_func) {
|
||||||
timer->timer_after_func(timer->param);
|
timer->timer_after_func(timer->param);
|
||||||
}
|
}
|
||||||
|
if (base_->running_timer) {
|
||||||
switch (timer->timer_type) {
|
switch (timer->timer_type) {
|
||||||
case 1:
|
case 1:
|
||||||
case 2: //循环类定时 fixed timer也是循环定时器
|
case 2: //循环类定时 fixed timer也是循环定时器
|
||||||
@ -314,6 +315,7 @@ namespace a8
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
base->running_timer = nullptr;
|
base->running_timer = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user