derp/derphttp: cleanup WebSocket connection on close

This was causing a leak in our CI!

Signed-off-by: Kyle Carberry <kyle@carberry.com>
pull/7495/head
Kyle Carberry 2 years ago committed by Mihai Parparita
parent be107f92d3
commit 3862a1e1d5

@ -321,7 +321,7 @@ func (c *Client) connect(ctx context.Context, caller string) (client *derp.Clien
}
c.serverPubKey = derpClient.ServerPublicKey()
c.client = derpClient
c.netConn = tcpConn
c.netConn = conn
c.connGen++
return c.client, c.connGen, nil
case c.url != nil:

Loading…
Cancel
Save