mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-03 23:22:23 -08:00
A full netmap from control produced up to five separate ipn.Notify messages: LoginFinished, the login prefs, the self node and peers, the exit node suggestion, and the re-resolved exit node prefs. A GUI that applied each one on arrival briefly showed the state between them. setControlClientStatusLocked now collects all of them into one Notify, sent from a deferred call when any field is set. suggestExitNodeLocked no longer sends. It records a changed suggestion in a Notify that its caller passes in, and the caller sends it with its other changes. The two netmap blocks after the prefs save are merged. Nothing between them ran unlocked. Fixes #22206 Signed-off-by: Brendan Creane <[email protected]>