mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-02 22:52:33 -08:00
The body of setControlClientStatusLocked that applies a status moves to applyControlClientStatusLocked, which sends its one Notify from a defer. An early return can no longer skip the send, and the state machine still runs after the send in the caller. The client-replaced return clears the pending flag explicitly, since that Notify is dropped on purpose. Updates #22206 Signed-off-by: Brendan Creane <[email protected]>