fix shutdown freeze introduced by ef255af
This commit is contained in:
parent
4a6d052bb7
commit
9735a8522e
|
@ -232,6 +232,7 @@ func (s *rtspSource) runInner() bool {
|
|||
return true
|
||||
|
||||
case <-s.ctx.Done():
|
||||
c.Close()
|
||||
<-readErr
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue