mateodelnorte/servicebus

Promise problem

Closed this issue ยท 2 comments

Warning: a promise was created in a handler at internal/process/next_tick.js:63:19 but was not returned from it, see http://goo.gl/rRqMUw

file: servicebus/bus/rabbitmq/bus.js:59

amqp.connect(url, implOpts).then(function (conn) {

Just make this function return something

๐ŸŽ‰ This issue has been resolved in version 2.3.2 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

Hello,

At the same place you have the same problem with all the :

self.connection.createChannel().then(function (channel) {

Each time you promise, each time you need to return, else memory leak incoming.