Adding/removing socket event listeners leaks memory
trxcllnt opened this issue · comments
Due to sindresorhus/component-emitter#74, adding and removing event listeners leaks memory. If you know you're removing the last listener for an event, you can call removeListener(evt)
to get it to dereference the _callbacks Arrays. Best option is component-emitter maintainers merge that PR, then bump the version here.
Wow, 2017.