Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Clear guest's shared buffers if they rejoin project after leaving while host was disconnected
Max Brunsfeldbda708622093
diff --git a/crates/project/src/project.rs b/crates/project/src/project.rsindex 3e5a4500756..88a187982cc 100644--- a/crates/project/src/project.rs+++ b/crates/project/src/project.rs@@ -4847,6 +4847,7 @@ impl Project {let collaborator = Collaborator::from_proto(collaborator)?;this.update(&mut cx, |this, cx| {+ this.shared_buffers.remove(&collaborator.peer_id);this.collaborators.insert(collaborator.peer_id, collaborator);cx.notify();