aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r--crates/ra_lsp_server/src/main_loop.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs
index eab82ee85..9d3f83b4c 100644
--- a/crates/ra_lsp_server/src/main_loop.rs
+++ b/crates/ra_lsp_server/src/main_loop.rs
@@ -88,8 +88,8 @@ pub fn main_loop(
88 drop(pool); 88 drop(pool);
89 log::info!("...threadpool has finished"); 89 log::info!("...threadpool has finished");
90 90
91 let fs_res = fs_watcher.stop(); 91 let fs_res = fs_watcher.shutdown();
92 let ws_res = ws_watcher.stop(); 92 let ws_res = ws_watcher.shutdown();
93 93
94 main_res?; 94 main_res?;
95 fs_res.map_err(|_| format_err!("fs watcher died"))?; 95 fs_res.map_err(|_| format_err!("fs watcher died"))?;