mirror of
https://github.com/bluenviron/mediamtx
synced 2025-02-01 12:11:47 +00:00
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
Block a user