Commit 2dd230ca authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't complain about unknown local tracks on close.

parent 37b19940
......@@ -761,10 +761,9 @@ func delDownConn(c *webClient, id string) bool {
conn.remote.delLocal(conn)
for _, track := range conn.tracks {
found := track.remote.delLocal(track)
if !found {
log.Printf("Couldn't find remote track")
}
// we only insert the track after we get an answer, so
// ignore errors here.
track.remote.delLocal(track)
}
conn.pc.Close()
delete(c.down, id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment