Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
capture spawn recording actor properly (#1300)
Oscar Beaumont9bfcdbdbd3ba
diff --git a/apps/desktop/src-tauri/src/recording.rs b/apps/desktop/src-tauri/src/recording.rsindex 10b136e55..f1e10217a 100644--- a/apps/desktop/src-tauri/src/recording.rs+++ b/apps/desktop/src-tauri/src/recording.rs@@ -592,11 +592,11 @@ pub async fn start_recording(}}).await- .map_err(|e| format!("Failed to spawn recording actor: {e}"))?+ .map_err(|e| format!("Failed to spawn recording actor: {e}"))}.await;- let actor_done_fut = match spawn_actor_res {+ let actor_done_fut = match spawn_actor_res.flatten() {Ok(rx) => rx,Err(err) => {let _ = RecordingEvent::Failed { error: err.clone() }.emit(&app);