Skip to content

Commit

Permalink
Fix cleanup global leak, Closes #475
Browse files Browse the repository at this point in the history
  • Loading branch information
behrad committed Dec 13, 2014
1 parent 5292887 commit 044b07f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion History.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0.8.10 / 2014-11-11
0.8.10 / 2014-12-13
===================

* Add more tests, Closes #280
Expand All @@ -9,6 +9,10 @@
* Add job enqueue event, Closes #458
* Watch for errors with non-string err.stack, Closes #426
* Fix web app redirect path for express 4.0, Closes #393
* `removeBadJob` should do pessimistic job removal from all state ZSETs, Closes #438
* Add stats json api by type and state, Closes #477
* Don't let concurrent graceful shutdowns on subsequent`Queue#shutdown`calls, Closes #479
* Fix `cleanup` global leak, Closes #475


0.8.9 / 2014-10-01
Expand Down
2 changes: 1 addition & 1 deletion lib/kue.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Queue.prototype.shutdown = function (fn, timeout, type) {
this.shuttingDown = true;
}

cleanup = function () {
var cleanup = function () {
if (type == '') {
self.client && self.client.quit();
self.client = null;
Expand Down

0 comments on commit 044b07f

Please sign in to comment.