Don't reset remote track on failure.

That would be racy.
This commit is contained in:
Juliusz Chroboczek
2020-05-03 19:45:36 +02:00
parent 3d751465de
commit ac50973a99
-1
View File
@@ -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)