fix(stream): fix message lost bug during pause stream.

This commit is contained in:
Haojun Liao 2023-07-03 10:55:45 +08:00
parent c24a7f6454
commit 317a7c83c7
1 changed files with 6 additions and 6 deletions

View File

@ -381,12 +381,12 @@ int32_t streamExecForAll(SStreamTask* pTask) {
} }
} }
if (streamTaskShouldStop(&pTask->status)) { // if (streamTaskShouldStop(&pTask->status)) {
if (pInput) { // if (pInput) {
streamFreeQitem(pInput); // streamFreeQitem(pInput);
} // }
return 0; // return 0;
} // }
if (pInput == NULL) { if (pInput == NULL) {
break; break;