Fix crash when screen capture can't keep up#844
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis change refactors several media pipeline source task implementations to standardize error handling by updating the Changes
Sequence Diagram(s)sequenceDiagram
participant Pipeline
participant SourceTask (run)
participant Upstream
Pipeline->>SourceTask (run): Call run(clock, ready_signal, control_signal)
SourceTask (run)->>SourceTask (run): Execute loop / main logic
alt Error occurs
SourceTask (run)-->>Pipeline: Return Err(String)
else Normal shutdown
SourceTask (run)-->>Pipeline: Return Ok(())
end
Pipeline->>Upstream: Handle result (success or error)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~18 minutes Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
… into fix-windows-lag-crash
Fixes for #835
This PR is preventing the crash but the recording toolbar is never removed when the errors occurs. The error is also never presented to the end-user.
Summary by CodeRabbit
New Features
Bug Fixes
Style