mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-25 19:29:49 +00:00
Stop waiting for snapshot updates when disconnected from host
This commit is contained in:
parent
c5351a1276
commit
b81135e10b
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue