Skip to content

Commit 0c12b7e

Browse files
committed
main: fix bug where thread pool isn't joined
Pointed out here: #4133 (comment)
1 parent c1a31d4 commit 0c12b7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/rust-analyzer/src/main_loop.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ pub fn main_loop(ws_roots: Vec<PathBuf>, config: Config, connection: Connection)
222222
libdata_receiver.into_iter().for_each(drop);
223223
log::info!("...tasks have finished");
224224
log::info!("joining threadpool...");
225+
pool.join();
225226
drop(pool);
226227
log::info!("...threadpool has finished");
227228

0 commit comments

Comments
 (0)