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:
parent
37b1994069
commit
2dd230ca45
1 changed files with 3 additions and 4 deletions
|
@ -761,10 +761,9 @@ func delDownConn(c *webClient, id string) bool {
|
||||||
|
|
||||||
conn.remote.delLocal(conn)
|
conn.remote.delLocal(conn)
|
||||||
for _, track := range conn.tracks {
|
for _, track := range conn.tracks {
|
||||||
found := track.remote.delLocal(track)
|
// we only insert the track after we get an answer, so
|
||||||
if !found {
|
// ignore errors here.
|
||||||
log.Printf("Couldn't find remote track")
|
track.remote.delLocal(track)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
conn.pc.Close()
|
conn.pc.Close()
|
||||||
delete(c.down, id)
|
delete(c.down, id)
|
||||||
|
|
Loading…
Reference in a new issue