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: resolve 'onPollVoteEvent' binding issue after logout and reconnect #3286

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

bpena
Copy link
Contributor

@bpena bpena commented Sep 22, 2024

This PR addresses a bug where attempting to reconnect after logging out would cause the application to fail with the error:

Failed to add page binding with name onPollVoteEvent: window['onPollVoteEvent'] already exists!

PR Details

  • Fixed error: 'Failed to add page binding with name onPollVoteEvent: window["onPollVoteEvent"] already exists!'
  • The error occurred after logging out and attempting to reconnect.
  • Connection would get stuck in 'authenticated' state and never reach 'ready'.

fix: resolved issue with 'onPollVoteEvent' binding after logout

- Fixed error: 'Failed to add page binding with name onPollVoteEvent: window["onPollVoteEvent"] already exists!'
- The error occurred after logging out and attempting to reconnect.
- Connection would get stuck in 'authenticated' state and never reach 'ready'.
@alechkos alechkos merged commit 796a0a2 into pedroslopez:main Sep 23, 2024
1 check passed
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.

3 participants