main: fix bug where thread pool isn't joined
Pointed out here: https://github.com/rust-analyzer/rust-analyzer/pull/4133#issuecomment-619386272
This commit is contained in:
parent
c1a31d4261
commit
0c12b7e8c8
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ pub fn main_loop(ws_roots: Vec<PathBuf>, config: Config, connection: Connection)
|
|||
libdata_receiver.into_iter().for_each(drop);
|
||||
log::info!("...tasks have finished");
|
||||
log::info!("joining threadpool...");
|
||||
pool.join();
|
||||
drop(pool);
|
||||
log::info!("...threadpool has finished");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue