EventEmitter2 icon indicating copy to clipboard operation
EventEmitter2 copied to clipboard

Fix bug in removeAllListeners()

Open codiophile opened this issue 1 year ago • 0 comments

I was trying to use eventNames() with removeAllListeners() and noticed that it didn't actually remove the event name. Fortunately, removeListener()/off() works as expected and I was able to use that instead, but I figured I should fix the bug, now that I have found it.

codiophile avatar Dec 16 '24 01:12 codiophile