fix(stream): not wait for the timer stopped.

This commit is contained in:
Haojun Liao 2024-04-07 18:53:25 +08:00
parent f82505ba16
commit fb58ca8592
1 changed files with 1 additions and 4 deletions

View File

@ -375,10 +375,7 @@ void tFreeStreamTask(SStreamTask* pTask) {
}
if (pTask->schedInfo.pDelayTimer != NULL) {
while(!taosTmrStop(pTask->schedInfo.pDelayTimer)) {
stError("failed to stop the trigger sched timer, wait for 100ms and retry");
taosMsleep(100);
}
taosTmrStop(pTask->schedInfo.pDelayTimer);
pTask->schedInfo.pDelayTimer = NULL;
}