mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-25 12:32:01 -08:00
correctly close tickerCheckStream; fix #26
This commit is contained in:
parent
eab4efe726
commit
d05cad0232
1 changed files with 1 additions and 1 deletions
|
|
@ -406,7 +406,7 @@ func (s *streamer) runUdp(conn *gortsplib.ConnClient) bool {
|
|||
defer tickerSendKeepalive.Stop()
|
||||
|
||||
tickerCheckStream := time.NewTicker(_CHECK_STREAM_INTERVAL)
|
||||
defer tickerSendKeepalive.Stop()
|
||||
defer tickerCheckStream.Stop()
|
||||
|
||||
s.p.events <- programEventStreamerReady{s}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue