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

Prevent multiple listener registration #1463

Merged
merged 1 commit into from
Dec 25, 2024
Merged

Conversation

Pablete1234
Copy link
Member

@Pablete1234 Pablete1234 commented Dec 25, 2024

Some listeners may get registered twice since pgm doesn't use a datastructure that prevents duplicates. This was the case for flags, where all events were being handled twice.

@Pablete1234 Pablete1234 merged commit 4428b14 into dev Dec 25, 2024
2 checks passed
@Pablete1234 Pablete1234 deleted the fix-duplicate-listeners branch December 25, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants