mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-06 23:36:34 +09:00
Auto.Shutdown does not wait for a status callback that is already running, so LocalBackend.Shutdown could close the engine while setControlClientStatusLocked was still about to apply a netmap to it. Reset b.cc in Shutdown, so that the existing checks drop any status that arrives from the old clien. Updates #22939 Signed-off-by: Nick Khyl <nickk@tailscale.com>