mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-02-25 18:55:38 -06:00
fix spurious error
This commit is contained in:
@@ -898,6 +898,12 @@ where
|
||||
for (wn, w) in watch.watchers.iter_mut().enumerate() {
|
||||
// Get the subkeys that have changed
|
||||
let subkeys = w.changed.clone();
|
||||
|
||||
// If no subkeys on this watcher have changed then skip it
|
||||
if subkeys.is_empty() {
|
||||
continue;
|
||||
}
|
||||
|
||||
w.changed.clear();
|
||||
|
||||
// Reduce the count of changes sent
|
||||
|
||||
Reference in New Issue
Block a user