fix(stream): set the callback function for handle event.
This commit is contained in:
parent
472020a2b9
commit
dbea34ce0e
|
@ -355,7 +355,7 @@ static int32_t doHandleEventAsync(SStreamTaskSM* pSM, EStreamTaskEvent event, ST
|
|||
// todo handle error code;
|
||||
|
||||
if (pTrans->autoInvokeEndFn) {
|
||||
streamTaskOnHandleEventSuccess(pSM, event, NULL, NULL);
|
||||
streamTaskOnHandleEventSuccess(pSM, event, callbackFn, param);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue