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: let Node.js perform microtask checkpoint in the main process #24174

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Jun 17, 2020

Backport of #24131

See that PR for details.

Notes: fix delayed execution of some Node.js callbacks in the main process

We already perform checkpoint at the end of a task,
either through MicrotaskRunner or through NodeBindings.
There isn't a need to add them again when calling into JS
except when dealing with promises.
We already perform checkpoint at the end of a task,
either through MicrotaskRunner or through NodeBindings.
There isn't a need to add them again when calling into JS
except when dealing with promises.
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jun 17, 2020
@trop trop bot requested a review from deepak1556 June 17, 2020 17:08
@trop trop bot added 10-x-y backport This is a backport PR labels Jun 17, 2020
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jun 17, 2020
@deepak1556
Copy link
Member

Failing tests are unrelated, merging.

@deepak1556 deepak1556 merged commit 64cdfda into 10-x-y Jun 17, 2020
@release-clerk
Copy link

release-clerk bot commented Jun 17, 2020

Release Notes Persisted

fix delayed execution of some Node.js callbacks in the main process

@deepak1556 deepak1556 deleted the trop/10-x-y-bp-fix-let-node-js-perform-microtask-checkpoint-in-the-main-process-1592413704369 branch June 17, 2020 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10-x-y backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant