mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-14 12:49:57 +00:00
When the active profile was in LoginFailed, NeedsLogin, or SessionExpired, switching to another profile left the daemon holding stale management/signal errors. The new profile inherited the error state from the previous one. Two fixes: 1. server.go Down(): reset statusRecorder management/signal errors so the next Up() starts with a clean status snapshot instead of the previous profile's error state. 2. tray.go switchProfile(): add NeedsLogin/LoginFailed/SessionExpired to the needsDown set. Down() is called to flush stale daemon state, but Up() is not — the user initiates login on the new profile manually.
53 KiB
53 KiB