Skip to content

Commit eb69b3b

Browse files
committed
await ready_rx
1 parent eefad3f commit eb69b3b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • crates/recording/src/sources/screen_capture

crates/recording/src/sources/screen_capture/windows.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,10 @@ impl Message<StartCapturing> for ScreenCaptureActor {
480480
}
481481
});
482482

483+
if let Ok(res) = ready_rx.await {
484+
res?;
485+
}
486+
483487
info!("Capturer started");
484488

485489
self.stop_tx = Some(stop_tx);

0 commit comments

Comments
 (0)