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

fix(async): don't call parse callback until async ops complete #1896

Merged
merged 2 commits into from Apr 3, 2021
Merged

Conversation

bcoe
Copy link
Member

@bcoe bcoe commented Apr 3, 2021

If a callback is provided to parse() it will now be executed after all promises have resolved.

The cause of #1894, was that this[kUnfreeze](); was being called too soon, which set this.#parseFn to null.

Fixes #1888 #1894

@bcoe bcoe merged commit a93f5ff into master Apr 3, 2021
@bcoe bcoe deleted the fix-1888 branch April 3, 2021 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant