...in contrast to doing so during worktree registration. This fixes a randomized test failure which would panic because store invariants would be violated. This would happen when a peer disconnected before it had a chance to register a worktree because, when removing all the state associated with that peer upon disconnection, we would notice the registered project without however finding it in the peer's connection state.
Antonio Scandurra committed on 4/8/2022, 12:41:56 PMparent222cd09
1 file changedLine totals unavailable