1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 16:45:58 +01:00

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

View file

@ -556,7 +556,6 @@ func delDownConn(c *client, id string) bool {
if !found { if !found {
log.Printf("Couldn't find remote track") log.Printf("Couldn't find remote track")
} }
track.remote = nil
} }
conn.pc.Close() conn.pc.Close()
delete(c.down, id) delete(c.down, id)