-
Notifications
You must be signed in to change notification settings - Fork 638
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
Dealer: Improve disconnect #1420
Dealer: Improve disconnect #1420
Conversation
I agree, it makes sense to have that argument. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
connect/src/spirc.rs:652
- The new behavior of pausing during disconnect should be covered by a test to ensure it works as expected.
if pause {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@roderickvd do you want to merge it or should I do it myself? (i unlinked the issue, as this adjustment doesn't seem to fix it and so is just an improvement) |
Go right ahead 👍 |
Disconnecting now only handles disconnecting and not pausing/stopping. But because it feels unnatural to call disconnect on the
Spirc
and not having the player pause, the method now provides an additional option to explicitly pause.improves the behavior in #1419 but doesn't fix it