fix(stream): release task after acquire.
This commit is contained in:
parent
b1ad121bae
commit
8b596ec4c4
|
@ -538,6 +538,11 @@ void streamMetaClear(SStreamMeta* pMeta) {
|
||||||
if (code) {
|
if (code) {
|
||||||
stError("vgId:%d remove task refId failed, refId:%" PRId64, pMeta->vgId, refId);
|
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) {
|
if (pMeta->streamBackendRid != 0) {
|
||||||
|
|
Loading…
Reference in New Issue