Fix failing test due to change in stop_language_server function

This commit is contained in:
Keith Simmons 2022-06-30 17:40:50 -07:00
parent 38ca4aab31
commit 6b50dda28a

View File

@ -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 {