fix(stream): not remove task when trying to stop it.
This commit is contained in:
parent
9bae0adba6
commit
01748085cc
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue