Skip to content

Commit ee8fc8b

Browse files
committed
fix(recording): handle QueueFrameError::Finished in camera-writer-repro
Made-with: Cursor
1 parent cd12c3f commit ee8fc8b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

crates/recording/examples/camera-writer-repro.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,10 @@ fn main() -> anyhow::Result<()> {
301301
queue_failures.push("Failed".to_string());
302302
break;
303303
}
304+
Err(QueueFrameError::Finished) => {
305+
queue_failures.push("Finished".to_string());
306+
break;
307+
}
304308
Err(err) => {
305309
queue_failures.push(err.to_string());
306310
break;

0 commit comments

Comments
 (0)