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()
|
||||
.unwrap()
|
||||
.reindex_project(&repo, &project)
|
||||
.with_context(|| format!("Failed to reindex project: {}", project.id))
|
||||
.unwrap();
|
||||
.with_context(|| format!("Failed to reindex project: {}", project.id))?;
|
||||
}
|
||||
watch_events(app_handle, rx);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user