-
-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clear up drain listeners in the case of an error #149
Conversation
lib/client.js
Outdated
@@ -265,6 +270,11 @@ Client.prototype.close = function (done) { | |||
} | |||
} | |||
|
|||
function callCb (cb) { | |||
// needed to work around a problem in Node 4.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's was the problem in Node 4 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need to do all of that in fact. Updated.
1 similar comment
The coverage took a hit |
it took a hit because I removed some code from the previous commit, it's still +0.1% with master. I'll adjust the settings. |
These changes look okay to me 👍 |
Thanks for fixing this, |
It should be in there in the latest release. Just upgrade your aedes package |
Fixes #148.