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
Receiving message in onMessage after calling dispose #103
Comments
Thanks @SyedSaifAli , I could identify what was the problem, so I will fix it |
Thank you :) Please let me know once you fix it :) |
@SyedSaifAli , could you test the nightly version? How to install: https://wppconnect-team.github.io/wppconnect/pages/Getting%20Started/installation.html |
@SyedSaifAli , I make a little change about the return of |
Is this on the nightly version? |
Yes |
Okay. |
@edgardmessias It's working now :D |
To dispose an event on Event emitter, both argument must in off method must be the same of "on". |
Great 💐 |
I used the example code given in the repo and added setTimeout to dispose.
According to the above code.
after 10 seconds, the listener should stop listening to new messages.
But I was still getting the new messages.
The text was updated successfully, but these errors were encountered: