mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-07-15 11:19:35 -04:00
fix spurious error
This commit is contained in:
parent
11d621c9be
commit
380ac1883f
1 changed files with 6 additions and 0 deletions
|
@ -898,6 +898,12 @@ where
|
||||||
for (wn, w) in watch.watchers.iter_mut().enumerate() {
|
for (wn, w) in watch.watchers.iter_mut().enumerate() {
|
||||||
// Get the subkeys that have changed
|
// Get the subkeys that have changed
|
||||||
let subkeys = w.changed.clone();
|
let subkeys = w.changed.clone();
|
||||||
|
|
||||||
|
// If no subkeys on this watcher have changed then skip it
|
||||||
|
if subkeys.is_empty() {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
w.changed.clear();
|
w.changed.clear();
|
||||||
|
|
||||||
// Reduce the count of changes sent
|
// Reduce the count of changes sent
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue