Skip to content
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

Driver: Fix crash on .leave() #63

Merged

Conversation

FelixMcFelix
Copy link
Member

Leaving (rather than removing) a call would cause the driver to crash as it would try to use a non-existent connection immediately after it had been invalidated.

This has been tested using a modified examples/serenity/voice_storage, felyne, and via cargo make ready.

Closes #56.

Leaving (rather than removing) a call would cause the driver to crash as it would try to use a non-existent connection immediately after it had been invalidated.

This has been tested using a modified `examples/serenity/voice_storage`, felyne, and via `cargo make ready`.
@FelixMcFelix FelixMcFelix added driver Relates to the driver or one of its sub-tasks. fix Fixes a bug or error labels Apr 10, 2021
@FelixMcFelix FelixMcFelix merged commit 24d8da6 into serenity-rs:current Apr 10, 2021
@FelixMcFelix FelixMcFelix deleted the fix-driver-leave-join branch April 10, 2021 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
driver Relates to the driver or one of its sub-tasks. fix Fixes a bug or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calling .leave() during audio playing blocks audio playing on reconnection
1 participant