fix(stream): set the callback function for handle event.

This commit is contained in:
Haojun Liao 2024-02-18 14:34:42 +08:00
parent 472020a2b9
commit dbea34ce0e
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ static int32_t doHandleEventAsync(SStreamTaskSM* pSM, EStreamTaskEvent event, ST
// todo handle error code; // todo handle error code;
if (pTrans->autoInvokeEndFn) { if (pTrans->autoInvokeEndFn) {
streamTaskOnHandleEventSuccess(pSM, event, NULL, NULL); streamTaskOnHandleEventSuccess(pSM, event, callbackFn, param);
} }
} }