From 8d569d49d2508cd7b50dd3d00d5509d4128bf645 Mon Sep 17 00:00:00 2001 From: Roberto Vidal Date: Wed, 17 Apr 2019 00:32:33 +0200 Subject: Breaks read loop on 'exit' --- crates/ra_lsp_server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_lsp_server/src') diff --git a/crates/ra_lsp_server/src/main.rs b/crates/ra_lsp_server/src/main.rs index 6b1274a3b..b0b70df5c 100644 --- a/crates/ra_lsp_server/src/main.rs +++ b/crates/ra_lsp_server/src/main.rs @@ -54,7 +54,7 @@ fn main_inner() -> Result<()> { ra_lsp_server::main_loop(workspace_roots, opts, r, s) })?; log::info!("shutting down IO..."); - threads.exit()?; + threads.join()?; log::info!("... IO is down"); Ok(()) } -- cgit v1.2.3