mirror of
https://github.com/lkmio/lkm.git
synced 2025-11-01 02:52:42 +08:00
fix: sink连接断开后仍然推流问题;
This commit is contained in:
@@ -206,6 +206,8 @@ func (s *BaseSink) doAsyncWrite() {
|
||||
duration := time.Now().UnixMilli() - l
|
||||
if err != nil {
|
||||
log.Sugar.Errorf(err.Error())
|
||||
<-s.cancelCtx.Done()
|
||||
return
|
||||
}
|
||||
|
||||
data.Release()
|
||||
|
||||
Reference in New Issue
Block a user