Comparing version 2.9.19 to 2.9.20
@@ -0,1 +1,7 @@ | ||
## 2.9.20 (2015-03-29) | ||
Bugfixes: | ||
- Fix regression where there is a long delay between calling `.cancel()` and promise actually getting cancelled in Chrome when long stack traces are enabled | ||
## 2.9.19 (2015-03-29) | ||
@@ -2,0 +8,0 @@ |
@@ -28,2 +28,11 @@ "use strict"; | ||
Async.prototype.enableTrampoline = function() { | ||
if (!this._trampolineEnabled) { | ||
this._trampolineEnabled = true; | ||
this._schedule = function(fn) { | ||
setTimeout(fn, 0); | ||
}; | ||
} | ||
}; | ||
Async.prototype.haveItemsQueued = function () { | ||
@@ -30,0 +39,0 @@ return this._normalQueue.length() > 0; |
@@ -28,2 +28,3 @@ "use strict"; | ||
if (this._cancellable()) return this; | ||
async.enableTrampoline(); | ||
this._setCancellable(); | ||
@@ -30,0 +31,0 @@ this._cancellationParent = undefined; |
{ | ||
"name": "bluebird", | ||
"description": "Full featured Promises/A+ implementation with exceptionally good performance", | ||
"version": "2.9.19", | ||
"version": "2.9.20", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "promise", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
427563
8654