-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix crash when screen capture can't keep up #844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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