Browse Source

fix: no link check on early whip client close

pull/3124/head
Jonathan Martin 2 years ago
parent
commit
92c817ac30
  1. 2
      internal/staticsources/webrtc/source.go

2
internal/staticsources/webrtc/source.go

@ -53,7 +53,7 @@ func (s *Source) Run(params defs.StaticSourceRunParams) error { @@ -53,7 +53,7 @@ func (s *Source) Run(params defs.StaticSourceRunParams) error {
tracks, err := client.Read(params.Context)
if err != nil {
client.Close()
client.Close() //nolint:errcheck
return err
}
defer client.Close() //nolint:errcheck

Loading…
Cancel
Save