fix(stream): fix message lost bug during pause stream.
This commit is contained in:
parent
c24a7f6454
commit
317a7c83c7
|
@ -381,12 +381,12 @@ int32_t streamExecForAll(SStreamTask* pTask) {
|
|||
}
|
||||
}
|
||||
|
||||
if (streamTaskShouldStop(&pTask->status)) {
|
||||
if (pInput) {
|
||||
streamFreeQitem(pInput);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
// if (streamTaskShouldStop(&pTask->status)) {
|
||||
// if (pInput) {
|
||||
// streamFreeQitem(pInput);
|
||||
// }
|
||||
// return 0;
|
||||
// }
|
||||
|
||||
if (pInput == NULL) {
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue