fix: CLI deadlock

This commit is contained in:
2025-03-14 00:45:26 +00:00
parent 90ba27c967
commit e1ff28d4e0
3 changed files with 17 additions and 9 deletions

View File

@ -23,6 +23,7 @@ pub async fn startline(app: AppHandle) -> Result<(), String> {
hash = appd.sum_packages(p);
}
if let Some(p) = &mut appd.profile {
log::debug!("{}", hash);
p.line_up(app.clone(), hash).await
.map_err(|e| format!("Lineup failed:\n{}", e))?;
p.start(app.clone()).await