diff options
Diffstat (limited to 'crates/ra_vfs')
-rw-r--r-- | crates/ra_vfs/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_vfs/src/lib.rs b/crates/ra_vfs/src/lib.rs index 20482c396..6c1af5ef9 100644 --- a/crates/ra_vfs/src/lib.rs +++ b/crates/ra_vfs/src/lib.rs | |||
@@ -212,6 +212,7 @@ impl Vfs { | |||
212 | mem::replace(&mut self.pending_changes, Vec::new()) | 212 | mem::replace(&mut self.pending_changes, Vec::new()) |
213 | } | 213 | } |
214 | 214 | ||
215 | /// Sutdown the VFS and terminate the background watching thread. | ||
215 | pub fn shutdown(self) -> thread::Result<()> { | 216 | pub fn shutdown(self) -> thread::Result<()> { |
216 | let _ = self.worker.shutdown(); | 217 | let _ = self.worker.shutdown(); |
217 | self.worker_handle.shutdown() | 218 | self.worker_handle.shutdown() |