1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-10 02:35:58 +01:00

Don't complain about unknown local tracks on close.

This commit is contained in:
Juliusz Chroboczek 2020-05-30 12:33:30 +02:00
parent 37b1994069
commit 2dd230ca45

View file

@ -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)