Skip to content

Commit

Permalink
Fixed queue close issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bbedwell committed Nov 23, 2015
1 parent 1fe9f41 commit 313f233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/queue.js
Expand Up @@ -67,7 +67,7 @@ function queue(channelFactory) {
});
})
.then(function() {
resolve({ close: ch.close });
resolve({ close: function() { ch.close } });
});
});
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "tortoise",
"homepage": "https://github.com/CompassPHS/tortoise",
"version": "0.3.0",
"version": "0.3.1",
"description": "Client library for AMQP",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 313f233

Please sign in to comment.