-
Notifications
You must be signed in to change notification settings - Fork 65
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
bridge.removeListener not works #69
Comments
My attempt at a workaround. I tried returning the handler within
|
I found the function bridge.removeListener() doesn't work and guess things going wrong because of the function bridge.on(), here is your code:
The function bridge.on() wants to return a handler registered on specific event so that users can remove this listener later using this handler, however, this handler is just a copy of the REAL HANDLES according to NodeJS document:
Obviously, using the handler returned by bridge.on() just can't work.
The text was updated successfully, but these errors were encountered: