Skip to content

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

Merged
bcoe merged 2 commits intomasterfrom
fix-1888
Apr 3, 2021
Merged

fix(async): don't call parse callback until async ops complete#1896
bcoe merged 2 commits intomasterfrom
fix-1888

Conversation

@bcoe
Copy link
Copy Markdown
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.

1 participant