summaryrefslogtreecommitdiff
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.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 9cd9ee7e..3d59c33a 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -527,7 +527,9 @@ impl Application {
self.event_loop().await;
- self.editor.close_language_servers(None).await?;
+ if self.editor.close_language_servers(None).await.is_err() {
+ log::error!("Timed out waiting for language servers to shutdown");
+ };
self.restore_term()?;