Skip to content

Commit 591d92a

Browse files
capture spawn recording actor properly
1 parent 2f701ef commit 591d92a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/desktop/src-tauri/src/recording.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,11 +592,11 @@ pub async fn start_recording(
592592
}
593593
})
594594
.await
595-
.map_err(|e| format!("Failed to spawn recording actor: {e}"))?
595+
.map_err(|e| format!("Failed to spawn recording actor: {e}"))
596596
}
597597
.await;
598598

599-
let actor_done_fut = match spawn_actor_res {
599+
let actor_done_fut = match spawn_actor_res.flatten() {
600600
Ok(rx) => rx,
601601
Err(err) => {
602602
let _ = RecordingEvent::Failed { error: err.clone() }.emit(&app);

0 commit comments

Comments
 (0)