fix(stream): check status before start check-rsp timer.

This commit is contained in:
Haojun Liao 2024-07-30 18:50:28 +08:00
parent 41617e42a5
commit 3bf53014d4
1 changed files with 2 additions and 0 deletions

View File

@ -283,6 +283,8 @@ void streamTaskStartMonitorCheckRsp(SStreamTask* pTask) {
// drop procedure already started, not start check downstream now
ETaskStatus s = streamTaskGetStatus(pTask).state;
if (s == TASK_STATUS__DROPPING) {
stDebug("s-task:%s task not in uninit status, status:%s not start monitor check-rsp", pTask->id.idStr,
streamTaskGetStatusStr(s));
streamMutexUnlock(&pInfo->checkInfoLock);
return;
}