This commit is contained in:
aozhiwei 2023-01-04 13:00:03 +08:00
parent dfc2c950b9
commit c72553f542

View File

@ -236,6 +236,7 @@ namespace a8
timer->cb(TIMER_DELETE_EVENT, nullptr);
}
}
timer->cb = nullptr;
while (!list_empty(&timer->destory_handle_list)) {
XTimerDestoryHandleNode* node = list_first_entry(&timer->destory_handle_list,
XTimerDestoryHandleNode,