mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-27 11:03:03 +03:00
fix regression in async diff (introduced in 546c7f3
)
This commit is contained in:
parent
6482c81382
commit
06622008da
@ -120,11 +120,12 @@ impl AsyncDiff {
|
||||
hash,
|
||||
);
|
||||
|
||||
let notify = if let Err(err) = notify {
|
||||
log::error!("get_diff_helper error: {}", err);
|
||||
true
|
||||
} else {
|
||||
false
|
||||
let notify = match notify {
|
||||
Err(err) => {
|
||||
log::error!("get_diff_helper error: {}", err);
|
||||
true
|
||||
}
|
||||
Ok(notify) => notify,
|
||||
};
|
||||
|
||||
arc_pending.fetch_sub(1, Ordering::Relaxed);
|
||||
|
Loading…
Reference in New Issue
Block a user