Skip to content
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

Actually push the promised confirmation into the await array #116

Merged
merged 1 commit into from
Nov 21, 2014

Conversation

jcready
Copy link
Contributor

@jcready jcready commented Nov 20, 2014

In the callback model you're not actually pushing the confirmation promises into the await array before calling when.all(await) which means that promise always gets resolved immediately because when.all is getting passed an empty array.

@squaremo squaremo merged commit 6ee81fc into amqp-node:master Nov 21, 2014
@squaremo
Copy link
Collaborator

Eeep! Good save, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants