mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-08 23:49:56 +00:00

Using context.CancelFunc as the type (instead of func()) answers questions like whether it's okay to call it multiple times, whether it blocks, etc. And that's the type it actually is in this case. Updates #cleanup Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>