diff --git a/src/imex/transfer.rs b/src/imex/transfer.rs index fdf0d1ae1a..08525ac540 100644 --- a/src/imex/transfer.rs +++ b/src/imex/transfer.rs @@ -348,6 +348,9 @@ pub async fn get_backup(context: &Context, qr: Qr) -> Result<()> { Err(format_err!("Backup reception cancelled")) }) .await; + if res.is_err() { + context.emit_event(EventType::ImexProgress(0)); + } context.free_ongoing().await; res?; }