mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-23 09:33:01 +03:00
release the lock when there are broken projects
This commit is contained in:
parent
96e4f16703
commit
efc07705e4
@ -551,8 +551,7 @@ fn init(app_handle: tauri::AppHandle) -> Result<()> {
|
|||||||
.lock()
|
.lock()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.reindex_project(&repo, &project)
|
.reindex_project(&repo, &project)
|
||||||
.with_context(|| format!("Failed to reindex project: {}", project.id))
|
.with_context(|| format!("Failed to reindex project: {}", project.id))?;
|
||||||
.unwrap();
|
|
||||||
}
|
}
|
||||||
watch_events(app_handle, rx);
|
watch_events(app_handle, rx);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user