don't deadlock on shutdown

Specifically, when we tear down IO threads, we should take care to
dispose connection.

closes #1775
This commit is contained in:
Aleksey Kladov 2019-09-06 20:58:21 +03:00
parent 1acd9d5540
commit 219287a14c
3 changed files with 4 additions and 4 deletions

View file

@ -66,7 +66,7 @@ fn run_server() -> Result<()> {
workspace_roots,
initialize_params.capabilities,
server_config,
&connection,
connection,
)?;
log::info!("shutting down IO...");