fix(stream): not remove task when trying to stop it.

This commit is contained in:
Haojun Liao 2024-10-31 00:25:26 +08:00
parent 9bae0adba6
commit 01748085cc
1 changed files with 0 additions and 4 deletions

View File

@ -453,10 +453,6 @@ int32_t streamMetaStopAllTasks(SStreamMeta* pMeta) {
} }
streamMetaReleaseTask(pMeta, pTask); streamMetaReleaseTask(pMeta, pTask);
ret = taosRemoveRef(streamTaskRefPool, refId);
if (ret) {
stError("vgId:%d failed to remove task:0x%x, refId:%"PRId64, pMeta->vgId, pTaskId->taskId, refId);
}
} }
taosArrayDestroy(pTaskList); taosArrayDestroy(pTaskList);