You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I perform removeEventListener or removeAllListeners after registering a listener it does remove from ref array but count property remains unchanged. Why is that?
In addition to that, if I emit an event after removing the listener it still invokes the handler. Anything I'm missing here?
The text was updated successfully, but these errors were encountered:
mjhassan
changed the title
removeAllListeners or removeEventListener doesn't change the count
*removeAllListeners* or *removeEventListener* doesn't change the **count**
May 31, 2020
mjhassan
changed the title
*removeAllListeners* or *removeEventListener* doesn't change the **count**
removeAllListeners or removeEventListener doesn't change the count
May 31, 2020
Thank you for this awesome module.
Whenever I perform
removeEventListener
orremoveAllListeners
after registering a listener it does remove fromref
array butcount
property remains unchanged. Why is that?In addition to that, if I emit an event after removing the listener it still invokes the handler. Anything I'm missing here?
The text was updated successfully, but these errors were encountered: