Commit 5b7ebbb0 authored by Romain Courteaud's avatar Romain Courteaud

No need to manually cancel all promises.

Rejection should be propagated.
parent bebc30b9
...@@ -23,7 +23,7 @@ var Queue = function() { ...@@ -23,7 +23,7 @@ var Queue = function() {
} }
function canceller() { function canceller() {
for (var i = 0; i < promise_list.length; i++) { for (var i = 0; i < 2; i++) {
promise_list[i].cancel(); promise_list[i].cancel();
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment