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

Clear track_handles when SetTrack heard #270

Merged

Conversation

JellyWX
Copy link
Contributor

@JellyWX JellyWX commented Dec 3, 2024

Summary

Clear track_handles when SetTrack heard, to prevent issue where indexes of tracks become desynced with indexes of track_handles. See #232

Testing

Not done, waiting for confirmation that this is a sensible fix

Copy link
Member

@FelixMcFelix FelixMcFelix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks believable, and it looks like exactly the sort of mistake that underlies that bug. 🤦 Great catch!

@JellyWX JellyWX marked this pull request as ready for review December 4, 2024 06:53
@FelixMcFelix FelixMcFelix merged commit 900f973 into serenity-rs:next Dec 4, 2024
10 checks passed
FelixMcFelix pushed a commit that referenced this pull request Dec 4, 2024
Clear `track_handles` when `SetTrack` heard, to prevent an issue where
indices of `tracks` become desynced with those of `track_handles`.

Closes #232.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants