From 219287a14c4e1d9f72465c81b34bd8cc2e2b2f44 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 6 Sep 2019 20:58:21 +0300 Subject: don't deadlock on shutdown Specifically, when we tear down IO threads, we should take care to dispose connection. closes #1775 --- crates/ra_lsp_server/tests/heavy_tests/support.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_lsp_server/tests') 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 { experimental: None, }, ServerConfig { with_sysroot, ..ServerConfig::default() }, - &connection, + connection, ) .unwrap() }) -- cgit v1.2.3