mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-27 03:56:25 -08:00
wgengine/magicsock: synchronize epUpdate cleanup on shutdown.
Signed-off-by: David Anderson <[email protected]>
This commit is contained in:
1 parent
023df9239e
commit
86baf60bd4
1 file changed
+1
@@ -256,6 +256,7 @@ func (c *Conn) epUpdate(ctx context.Context) {
|
||||
case <-ctx.Done():
|
||||
if lastCancel != nil {
|
||||
lastCancel()
|
||||
<-lastDone
|
||||
}
|
||||
return
|
||||
case <-c.startEpUpdate:
|
||||
|
||||
Reference in new issue
Block a user