doc comment

This commit is contained in:
Aleksey Kladov 2018-12-19 10:29:48 +03:00
parent d0bab735c8
commit 815a0e5778

View File

@ -212,6 +212,7 @@ impl Vfs {
mem::replace(&mut self.pending_changes, Vec::new())
}
/// Sutdown the VFS and terminate the background watching thread.
pub fn shutdown(self) -> thread::Result<()> {
let _ = self.worker.shutdown();
self.worker_handle.shutdown()