diff --git a/crates/project/src/worktree.rs b/crates/project/src/worktree.rs index 5eb3c3dbd6..8dee1c8261 100644 --- a/crates/project/src/worktree.rs +++ b/crates/project/src/worktree.rs @@ -970,6 +970,7 @@ impl RemoteWorktree { pub fn disconnected_from_host(&mut self) { self.updates_tx.take(); + self.snapshot_subscriptions.clear(); } pub fn update_from_remote(&mut self, update: proto::UpdateWorktree) {