Clear guest's shared buffers if they rejoin project after leaving while host was disconnected
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user