mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
fix shutdown freeze introduced by ef255af
This commit is contained in:
parent
4a6d052bb7
commit
9735a8522e
1 changed files with 1 additions and 0 deletions
|
|
@ -232,6 +232,7 @@ func (s *rtspSource) runInner() bool {
|
|||
return true
|
||||
|
||||
case <-s.ctx.Done():
|
||||
c.Close()
|
||||
<-readErr
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue