fix: Don't crash if language servers time out
This commit is contained in:
parent
0a7add4ad4
commit
a4564adadd
1 changed files with 3 additions and 1 deletions
|
@ -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()?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue