fix(stream): release task after acquire.

This commit is contained in:
Haojun Liao 2024-10-31 15:14:26 +08:00
parent b1ad121bae
commit 8b596ec4c4
1 changed files with 5 additions and 0 deletions

View File

@ -538,6 +538,11 @@ void streamMetaClear(SStreamMeta* pMeta) {
if (code) {
stError("vgId:%d remove task refId failed, refId:%" PRId64, pMeta->vgId, refId);
}
code = taosReleaseRef(streamTaskRefPool, refId);
if (code) {
stError("vgId:%d failed to release refId:%" PRId64, pMeta->vgId, refId);
}
}
if (pMeta->streamBackendRid != 0) {