mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 01:18:21 +00:00
fix panic when opening submodule (#2896)
this is caused by us dropping the git notify channel and creating a new one when opening the submodule. closes #2895
This commit is contained in:
parent
1083006a55
commit
b1db21e10a
2 changed files with 5 additions and 3 deletions
|
|
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
* use [tombi](https://github.com/tombi-toml/tombi) for all toml file formatting
|
||||
|
||||
### Fixes
|
||||
* crash when opening submodule ([#2895](https://github.com/gitui-org/gitui/issues/2895))
|
||||
* when staging the last file in a directory, the first item after the directory is no longer skipped [[@Tillerino](https://github.com/Tillerino)] ([#2748](https://github.com/gitui-org/gitui/issues/2748))
|
||||
|
||||
## [0.28.1] - 2026-03-21
|
||||
|
|
|
|||
|
|
@ -138,9 +138,10 @@ impl AsyncStatus {
|
|||
arc_generation.fetch_add(1, Ordering::Relaxed);
|
||||
arc_pending.fetch_sub(1, Ordering::Relaxed);
|
||||
|
||||
sender
|
||||
.send(AsyncGitNotification::Status)
|
||||
.expect("error sending status");
|
||||
if let Err(e) = sender.send(AsyncGitNotification::Status)
|
||||
{
|
||||
log::error!("send status error: {e}");
|
||||
}
|
||||
});
|
||||
|
||||
Ok(None)
|
||||
|
|
|
|||
Loading…
Reference in a new issue