Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix race during initial Sonos group construction #26371
When adding a player we must rebuild all groups because the new player could be part of an existing group. This change moves the rebuilding of groups to after an entity has been appended to our local inventory.
This avoids 2+ players rebuilding groups with each not yet knowing about the other.
Related issue (if applicable): fixes #26326