From ac50973a9958d031354c002e8e5e23ad459dcbc1 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sun, 3 May 2020 19:45:36 +0200 Subject: [PATCH] Don't reset remote track on failure. That would be racy. --- client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/client.go b/client.go index b82c36d..7d29826 100644 --- a/client.go +++ b/client.go @@ -556,7 +556,6 @@ func delDownConn(c *client, id string) bool { if !found { log.Printf("Couldn't find remote track") } - track.remote = nil } conn.pc.Close() delete(c.down, id)