Comparing version 3.0.4 to 3.0.5
@@ -119,8 +119,5 @@ var inherits = require('inherits'); | ||
Queue.prototype.end = function(err) { | ||
if (this.jobs.length || this.pending) { | ||
this.jobs = []; | ||
this.pending = 0; | ||
this.session++; | ||
done.call(this, err); | ||
} | ||
this.jobs = []; | ||
this.pending = 0; | ||
done.call(this, err); | ||
}; | ||
@@ -127,0 +124,0 @@ |
{ | ||
"name": "queue", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"description": "asynchronous function queue with adjustable concurrency", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -5,4 +5,5 @@ require('./synchronous'); | ||
require('./length'); | ||
require('./error'); | ||
require('./stop'); | ||
require('./end'); | ||
require('./end'); | ||
require('./error-sync'); | ||
require('./error-async'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13690
15
387