Fix race between ServerManager and AgentManager.
The invariant is ServerManager::state() == Running implies AgentManager returning valid data, which was violated until we enter the event loop the first time after state changed to Running. The "fix" is ensuring the right initialization order by using queued connections to defer the ServerManager code. Found and tested by David Jarvie.
parent
7b3c22d5
Please register or sign in to comment