Jeff-Lewis / cls-hooked

cls-hooked : CLS using AsynWrap or async_hooks instead of async-listener for node 4.7+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bindEmitter() does not work on certain EEs when there are other listeners

edevil opened this issue · comments

I found a bug in bindEmitter() which I eventually tracked down to the emitter-listener module. I've submitted a PR to fix it, but I'm unsure if it will ever get merged since the module seems unmaintained. (@othiym23, if you see this, say something).

I was wondering if you would consider importing the emitter-listener module (it's small) with the fix so that cls-hooked's bindEmitter() operates properly?

Thanks.

Nevermind, the PR was just merged. :)