Clean up LSP servers on worktree release

This commit is contained in:
Kirill Bulatov
2024-01-23 11:34:51 +02:00
parent 5a9f1e4eb7
commit 351914f4bd
4 changed files with 62 additions and 4 deletions
+2 -1
View File
@@ -1355,7 +1355,7 @@ impl Workspace {
Some(visible) => match this
.update(&mut cx, |this, cx| {
Workspace::project_path_for_path(
this.project.clone(),
dbg!(this.project.clone()),
abs_path,
visible,
cx,
@@ -1368,6 +1368,7 @@ impl Workspace {
},
None => None,
};
dbg!(&project_path);
let this = this.clone();
let abs_path = abs_path.clone();