Browse Source

fix shutdown freeze introduced by ef255af

pull/846/head
aler9 5 years ago
parent
commit
9735a8522e
  1. 1
      internal/core/rtsp_source.go

1
internal/core/rtsp_source.go

@ -232,6 +232,7 @@ func (s *rtspSource) runInner() bool {
return true return true
case <-s.ctx.Done(): case <-s.ctx.Done():
c.Close()
<-readErr <-readErr
return false return false
} }

Loading…
Cancel
Save