mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
wgengine/magicsock: synchronize epUpdate cleanup on shutdown.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
023df9239e
commit
86baf60bd4
@ -256,6 +256,7 @@ func (c *Conn) epUpdate(ctx context.Context) {
|
||||
case <-ctx.Done():
|
||||
if lastCancel != nil {
|
||||
lastCancel()
|
||||
<-lastDone
|
||||
}
|
||||
return
|
||||
case <-c.startEpUpdate:
|
||||
|
Loading…
Reference in New Issue
Block a user