fix regression in async diff (introduced in 546c7f3)

This commit is contained in:
Stephan Dilly 2021-02-24 22:15:10 +01:00
parent 6482c81382
commit 06622008da

View file

@ -120,11 +120,12 @@ impl AsyncDiff {
hash, hash,
); );
let notify = if let Err(err) = notify { let notify = match notify {
log::error!("get_diff_helper error: {}", err); Err(err) => {
true log::error!("get_diff_helper error: {}", err);
} else { true
false }
Ok(notify) => notify,
}; };
arc_pending.fetch_sub(1, Ordering::Relaxed); arc_pending.fetch_sub(1, Ordering::Relaxed);