diff options
author | Aleksey Kladov <[email protected]> | 2019-09-06 18:58:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-09-06 18:58:21 +0100 |
commit | 219287a14c4e1d9f72465c81b34bd8cc2e2b2f44 (patch) | |
tree | 73d3eaf5d8bfcecc5dca0334f0e015026925cb2c /crates/ra_lsp_server/tests | |
parent | 1acd9d5540bf755e87173fe16a803cfe8b2bb500 (diff) |
don't deadlock on shutdown
Specifically, when we tear down IO threads, we should take care to
dispose connection.
closes #1775
Diffstat (limited to 'crates/ra_lsp_server/tests')
-rw-r--r-- | crates/ra_lsp_server/tests/heavy_tests/support.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/tests/heavy_tests/support.rs b/crates/ra_lsp_server/tests/heavy_tests/support.rs index 89f65cef4..86073b57d 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/support.rs +++ b/crates/ra_lsp_server/tests/heavy_tests/support.rs | |||
@@ -118,7 +118,7 @@ impl Server { | |||
118 | experimental: None, | 118 | experimental: None, |
119 | }, | 119 | }, |
120 | ServerConfig { with_sysroot, ..ServerConfig::default() }, | 120 | ServerConfig { with_sysroot, ..ServerConfig::default() }, |
121 | &connection, | 121 | connection, |
122 | ) | 122 | ) |
123 | .unwrap() | 123 | .unwrap() |
124 | }) | 124 | }) |