tlrobinson / long-stack-traces

Long stacktraces for V8 implemented in user-land JavaScript. [UNMAINTAINED] Use https://github.com/mattinsler/longjohn instead
277 stars 15 forks source link

Presence of long-stack-traces causes faulty emission of 'error' event on amqp module's Connection object #13

Open weyus opened 11 years ago

weyus commented 11 years ago

Node 0.8.22 amqp 0.1.6 long-stack-traces 0.1.2

When I require("long-stack-traces"), and attempt to call end() on a amqp Connection object, the 'error' event is thrown for that Connection object erroneously.

If I comment out the require statement, everything works fine.

I don't totally understand what is happening here, but based on reading some of the other issues, apparently long-stack-traces can introduce instability into EventEmitter.

So I'm going to stop using it.