mirror of
https://github.com/jech/galene.git
synced 2024-11-09 18:25:58 +01:00
Fix incorrect closure in pushConnsAction.
This was causing us to lose connections.
This commit is contained in:
parent
f7048e4dae
commit
4de2953037
1 changed files with 2 additions and 2 deletions
|
@ -819,7 +819,7 @@ func clientLoop(c *webClient, ws *websocket.Conn) error {
|
|||
for i, t := range tracks {
|
||||
ts[i] = t
|
||||
}
|
||||
go func() {
|
||||
go func(u *rtpUpConnection, ts []conn.UpTrack) {
|
||||
err := a.client.PushConn(
|
||||
g, u.id, u, ts, u.label,
|
||||
)
|
||||
|
@ -829,7 +829,7 @@ func clientLoop(c *webClient, ws *websocket.Conn) error {
|
|||
err,
|
||||
)
|
||||
}
|
||||
}()
|
||||
}(u, ts)
|
||||
}
|
||||
case connectionFailedAction:
|
||||
if down := getDownConn(c, a.id); down != nil {
|
||||
|
|
Loading…
Reference in a new issue