mirror of
https://github.com/jech/galene.git
synced 2024-11-22 08:35:57 +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)
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue