mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-25 22:22:44 +00:00
reference notify
issue
This commit is contained in:
parent
76bf7498aa
commit
5f31d495bd
@ -225,7 +225,7 @@ impl Vfs {
|
||||
}
|
||||
}
|
||||
watcher::WatcherChange::Rescan => {
|
||||
// TODO send Task::AddRoot?
|
||||
// TODO we should reload all files
|
||||
}
|
||||
},
|
||||
io::TaskResult::LoadChange(None) => {}
|
||||
|
@ -86,7 +86,8 @@ impl Watcher {
|
||||
pub fn shutdown(mut self) -> thread::Result<()> {
|
||||
self.bomb.defuse();
|
||||
drop(self.watcher);
|
||||
// TODO this doesn't terminate for some reason
|
||||
// TODO this doesn't terminate because of a buf in `notify`
|
||||
// uncomment when https://github.com/passcod/notify/pull/170 is released
|
||||
// let res = self.thread.join();
|
||||
// match &res {
|
||||
// Ok(()) => log::info!("... Watcher terminated with ok"),
|
||||
|
Loading…
Reference in New Issue
Block a user