Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: Release all processing locks when Promise rejects from a test #1253

Merged
merged 1 commit into from
Jan 18, 2018

Conversation

trentmwillis
Copy link
Member

Fixes #1229.

When a Promise rejects, we were previously only releasing the processing lock from that Promise. Now we'll release all processing locks when that occurs, similarly to what we do for exceptions that occur during a non-Promise test.

Copy link
Contributor

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for tracking this down.

Copy link
Contributor

@platinumazure platinumazure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@trentmwillis trentmwillis merged commit 7dacb5e into qunitjs:master Jan 18, 2018
@trentmwillis trentmwillis deleted the promise-lock branch January 18, 2018 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants