-
Notifications
You must be signed in to change notification settings - Fork 233
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
socket.removeListener not working #152
Comments
I'm experiencing the same issue. Did you find a solution? |
No. It did not work. I had to change my system to work with removeAllListener property and on controller exit remove all listeners. |
I came up with the following solution to make removeListener work if you're interested. If involves not angular-socket-io and writing a factory to export socket.io. I think it's easier and more straightforward and it works. |
|
Hi,
I am trying to remove one listener when my controller is changing via
But it does not seem to work. Listener is not removed. How to remove one particular listener when controller is changing?
The text was updated successfully, but these errors were encountered: