mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
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:
parent
1acd9d5540
commit
219287a14c
3 changed files with 4 additions and 4 deletions
|
@ -66,7 +66,7 @@ fn run_server() -> Result<()> {
|
|||
workspace_roots,
|
||||
initialize_params.capabilities,
|
||||
server_config,
|
||||
&connection,
|
||||
connection,
|
||||
)?;
|
||||
|
||||
log::info!("shutting down IO...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue