Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Fixed bug in utils/Async.PromiseQueue where a rejected promise keeps the...#7407

Merged
njx merged 1 commit intoadobe:masterfrom
jayther:promisequeuerejectfix
Apr 4, 2014
Merged

Fixed bug in utils/Async.PromiseQueue where a rejected promise keeps the...#7407
njx merged 1 commit intoadobe:masterfrom
jayther:promisequeuerejectfix

Conversation

@jayther
Copy link
Copy Markdown
Contributor

@jayther jayther commented Apr 4, 2014

... PromiseQueue from going to the next promise. ( issue #7393 )

Above bug caused by adding to _curPromise.done() instead of _curPromise.always(). Fix is simply to use .always().
Added to Async-test to test rejected promise cases.

Signed-off-by: jayther jayther@gmail.com

…the PromiseQueue from going to the next promise.

Above bug caused by adding to _curPromise.done() instead of _curPromise.always(). Fix is simply to use .always().
Added to Async-test to test rejected promise cases.

Signed-off-by: jayther <jayther@gmail.com>
@njx
Copy link
Copy Markdown

njx commented Apr 4, 2014

Looks perfect, thanks! Merging.

@njx njx closed this Apr 4, 2014
@njx njx reopened this Apr 4, 2014
njx pushed a commit that referenced this pull request Apr 4, 2014
Fixed bug in utils/Async.PromiseQueue where a rejected promise keeps the...
@njx njx merged commit 6cdd1de into adobe:master Apr 4, 2014
@jayther jayther deleted the promisequeuerejectfix branch April 4, 2014 07:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants