Fix wait_task hang

This commit is contained in:
obdev 2023-11-08 15:39:40 +00:00 committed by ob-robot
parent 57b755ea91
commit 8228be3770

View File

@ -453,6 +453,7 @@ void ObTimer::run1()
}
token.task->runTimerTask();
ObMonitor<Mutex>::Lock guard(monitor_);
running_task_ = NULL;
if (token.task == uncanceled_task_) {
uncanceled_task_ = NULL;
token.delay = 0;