mirror of https://github.com/tailscale/tailscale/
ipn/ipnlocal: use context.CancelFunc type for doc clarity
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>pull/14515/head
parent
03b9361f47
commit
e3bcb2ec83
Loading…
Reference in New Issue