mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
fix regression in async diff (introduced in 546c7f3)
This commit is contained in:
parent
6482c81382
commit
06622008da
1 changed files with 6 additions and 5 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue