mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
fix spurious error
This commit is contained in:
parent
11d621c9be
commit
380ac1883f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user