TypeError: Cannot call method 'once' of null at queueClose
funston opened this issue · comments
Not sure what' I'm doing to cause this but happening randomly
sl-mq/lib/adapters/amqp.js:113:13)
The obvious way to cause this to happen is to close a queue multiple times.
What version of sl-mq are you using, and what is the complete stack trace?
I should check for multiple close and emit an error, but we can confirm what is happening by exporting NODE_SLMQ_DEBUG
in your environment before running, sl-mq will log what it is doing and the problem may become obvious. Can you do that, or send me a link to your code so I can?