Files
zed/crates
Anthony Eid 3d3a66dc98 collab: Fix unable to rejoin shared project after leaving a call (#50630)
When a downstream project was disconnected from the host (e.g. the guest
left the call), `disconnected_from_host_internal` did not clear
`client_subscriptions`. These subscriptions hold entries in the
`Client`'s entity subscription map, so a subsequent
`join_remote_project` with the same project ID would fail with "already
subscribed to entity".

The fix adds `self.client_subscriptions.clear()` to
`disconnected_from_host_internal`, matching what `unshare_internal`
already does for the host side.

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects

Release Notes:

- collab: Fix unable to rejoin project bug ("already subscribed to
entity")
2026-03-03 19:46:08 +00:00
..
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2026-02-28 02:54:15 +00:00
2026-02-26 18:36:50 +01:00
2026-02-19 19:15:59 -05:00
2026-02-12 01:06:23 +00:00
2026-02-26 18:36:50 +01:00
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2025-11-07 11:36:05 +00:00
2026-02-27 13:24:37 -07:00