mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-11 07:59:08 +02:00
The effective state was computed under serverStateLock but published after releasing it, so two transitions could reorder between compute and notify and leave the listener on a state the notifier had already superseded, e.g. NoNetwork surviving after the network came back. Hold a publish lock across compute and notify on every publishing path.