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

Bellhop.disconnect() doesn't work #21

Closed
steph643 opened this issue Apr 15, 2019 · 1 comment
Closed

Bellhop.disconnect() doesn't work #21

steph643 opened this issue Apr 15, 2019 · 1 comment

Comments

@steph643
Copy link

If you disconnect and reconnect, you end up receiving each message twice.

This is due to the fact that Bellhop.disconnect() doesn't release the event listener. Indeed, addEventListener (see this line) and removeEventListener (see this line) are not called on the same function.

steph643 pushed a commit to sylque/Bellhop that referenced this issue Apr 15, 2019
@steph643 steph643 mentioned this issue Apr 15, 2019
steph643 pushed a commit to sylque/Bellhop that referenced this issue Apr 15, 2019
chipbell4 added a commit that referenced this issue Apr 15, 2019
@chipbell4
Copy link
Contributor

Okay, this should be resolved now!

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

No branches or pull requests

2 participants