diff options
author | Roberto Vidal <[email protected]> | 2019-04-16 23:32:33 +0100 |
---|---|---|
committer | Roberto Vidal <[email protected]> | 2019-04-16 23:38:56 +0100 |
commit | 8d569d49d2508cd7b50dd3d00d5509d4128bf645 (patch) | |
tree | fa681e23a67dcaf25a52be11272a2ecf6d9b54bf /crates/ra_lsp_server | |
parent | 13d92b3f11246dc2d9a26b7d06ad8ebbcb96c47d (diff) |
Breaks read loop on 'exit'
Diffstat (limited to 'crates/ra_lsp_server')
-rw-r--r-- | crates/ra_lsp_server/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<()> { | |||
54 | ra_lsp_server::main_loop(workspace_roots, opts, r, s) | 54 | ra_lsp_server::main_loop(workspace_roots, opts, r, s) |
55 | })?; | 55 | })?; |
56 | log::info!("shutting down IO..."); | 56 | log::info!("shutting down IO..."); |
57 | threads.exit()?; | 57 | threads.join()?; |
58 | log::info!("... IO is down"); | 58 | log::info!("... IO is down"); |
59 | Ok(()) | 59 | Ok(()) |
60 | } | 60 | } |