doc comment
This commit is contained in:
@@ -212,6 +212,7 @@ impl Vfs {
|
|||||||
mem::replace(&mut self.pending_changes, Vec::new())
|
mem::replace(&mut self.pending_changes, Vec::new())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Sutdown the VFS and terminate the background watching thread.
|
||||||
pub fn shutdown(self) -> thread::Result<()> {
|
pub fn shutdown(self) -> thread::Result<()> {
|
||||||
let _ = self.worker.shutdown();
|
let _ = self.worker.shutdown();
|
||||||
self.worker_handle.shutdown()
|
self.worker_handle.shutdown()
|
||||||
|
|||||||
Reference in New Issue
Block a user