Skip to content

Commit

Permalink
Fix reconnection issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Feb 10, 2024
1 parent f237119 commit 5fa31fe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/core/track.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ func (t *Receiver) Replace(target *Receiver) {
// move this receiver senders to new receiver
t.mu.Lock()
senders := t.senders
// fix https://github.com/AlexxIT/go2rtc/issues/828
// TODO: fix the reason, not the consequence
t.senders = nil
t.mu.Unlock()

target.mu.Lock()
Expand Down

0 comments on commit 5fa31fe

Please sign in to comment.