vfs crate scaffold

This commit is contained in:
Aleksey Kladov
2018-12-18 13:18:55 +03:00
parent 7509901fa0
commit 2ae05a6163
6 changed files with 89 additions and 68 deletions

View File

@@ -88,8 +88,8 @@ pub fn main_loop(
drop(pool);
log::info!("...threadpool has finished");
let fs_res = fs_watcher.stop();
let ws_res = ws_watcher.stop();
let fs_res = fs_watcher.shutdown();
let ws_res = ws_watcher.shutdown();
main_res?;
fs_res.map_err(|_| format_err!("fs watcher died"))?;