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

Fix ghost players #102

Merged
merged 5 commits into from
Dec 29, 2021
Merged

Fix ghost players #102

merged 5 commits into from
Dec 29, 2021

Conversation

aikaterna
Copy link
Member

Some players on RLL get stuck in a playing state when they are stopped. The private Player._is_playing designation, which is copied over to the public Player.is_playing designation, reports that these players are still playing. This PR properly sets those players' is_playing to False. Ghost player situations like this will also be improved with a later PR to support Lavalink 3.4 jars, where a destroy method will be called on players instead of a stop method.

@Jackenmen Jackenmen added this to the 0.9.0 milestone Dec 29, 2021
@Jackenmen Jackenmen self-assigned this Dec 29, 2021
Copy link
Member

@Jackenmen Jackenmen left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@Jackenmen Jackenmen merged commit 429eb5f into Cog-Creators:develop Dec 29, 2021
@aikaterna aikaterna deleted the fix-ghost-players branch December 29, 2021 23:05
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