mirror of https://github.com/tailscale/tailscale/
ipn/ipnlocal: prevent cc leaks on multiple Start calls
If Start was called multiple times concurrently, it would create a new client and shutdown the previous one. However there was a race possible between shutting down the old one and assigning a new one where the concurent goroutine may have assigned another one already and it would leak. Updates tailscale/corp#14471 Signed-off-by: Maisem Ali <maisem@tailscale.com>pull/9230/head
parent
6bc15f3a73
commit
52a19b5970
Loading…
Reference in New Issue