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 crash that could occur when closing a split before its display name was updated #4731

Merged
merged 4 commits into from
Jul 23, 2023

Conversation

pajlada
Copy link
Member

@pajlada pajlada commented Jul 23, 2023

Description

  • Disconnect the displayNameChanged signal when the split closes
  • Store the "raw" display name sent from Twitch

pajlada added 4 commits July 23, 2023 11:26
This fixes a crash that could occur when closing a split before the
display name had a chance to update

The reason I found this was because the LiveController change I made
updated display names more regularly
This ensures we don't send duplicate `displayNameUpdated` signals
upon each request for channels with CJK characters in their display name
Copy link
Member Author

@pajlada pajlada 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 👍
image

@pajlada pajlada enabled auto-merge (squash) July 23, 2023 09:35
@pajlada pajlada merged commit a440f02 into master Jul 23, 2023
@pajlada pajlada deleted the fix/display-name-signal-crash branch July 23, 2023 10:11
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.

1 participant