mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
Fix failing test due to change in stop_language_server function
This commit is contained in:
parent
38ca4aab31
commit
6b50dda28a
@ -2249,6 +2249,9 @@ impl Project {
|
||||
) -> Task<()> {
|
||||
let key = (worktree_id, adapter_name);
|
||||
if let Some(server_id) = self.language_server_ids.remove(&key) {
|
||||
self.language_server_statuses.remove(&server_id);
|
||||
cx.notify();
|
||||
|
||||
let server_state = self.language_servers.remove(&server_id);
|
||||
cx.spawn_weak(|this, mut cx| async move {
|
||||
let server = match server_state {
|
||||
|
Loading…
Reference in New Issue
Block a user