Skip to content

fix: let Node.js perform microtask checkpoint in the main process#24178

Merged
deepak1556 merged 1 commit into
9-x-yfrom
robo/fix_checkpoint_9_x
Jun 17, 2020
Merged

fix: let Node.js perform microtask checkpoint in the main process#24178
deepak1556 merged 1 commit into
9-x-yfrom
robo/fix_checkpoint_9_x

Conversation

@deepak1556
Copy link
Copy Markdown
Member

@deepak1556 deepak1556 commented Jun 17, 2020

Description of Change

Backports #24131

Checklist

Release Notes

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

…4131)

* fix: let Node.js perform microtask checkpoint in the main process

* fix: don't specify v8::MicrotasksScope for explicit policy

* fix: remove checkpoint from some call-sites

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.

* fix: remove checkpoint from some call-sites

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.

* fix incorrect specs

* default constructor arguments are considered for explicit mark

* add regression spec
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Jun 17, 2020
@trop trop Bot added 9-x-y backport This is a backport PR labels Jun 17, 2020
@deepak1556 deepak1556 requested a review from a team June 17, 2020 18:19
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Jun 17, 2020
@deepak1556 deepak1556 merged commit f11aad0 into 9-x-y Jun 17, 2020
@release-clerk
Copy link
Copy Markdown

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 robo/fix_checkpoint_9_x branch June 17, 2020 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

9-x-y backport This is a backport PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants