Closed patniemeyer closed 2 years ago
I am calling removeAllListeners() on the Ethereum provider and then logging the listenerCount() on that provider, which returns zero. However I still get callbacks on the original listeners. Should this be working?
removeAllListeners()
listenerCount()
You need to provide the event name. If you don't supply the event name, it will not do anything (No error thrown).
I am calling
removeAllListeners()
on the Ethereum provider and then logging thelistenerCount()
on that provider, which returns zero. However I still get callbacks on the original listeners. Should this be working?