aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs11
1 files changed, 1 insertions, 10 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 1f02ac4f..2fae467f 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -406,16 +406,7 @@ impl Application {
self.event_loop().await;
- tokio::time::timeout(
- Duration::from_millis(500),
- future::join_all(
- self.editor
- .language_servers
- .iter_clients()
- .map(|client| client.force_shutdown()),
- ),
- )
- .await;
+ self.editor.close_language_servers(None).await;
// reset cursor shape
write!(stdout, "\x1B[2 q");