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: allow Node.js to manage microtasks queue #28957

Merged
merged 2 commits into from
May 3, 2021

Commits on May 2, 2021

  1. fix: allow Node.js to manage microtasks queue

    When `uv_run()` resulted in invocation of JS functions the microtask
    queue checkpoint in Node's CallbackScope was a no-op because the
    expected microtask queue policy was `kExplicit` and Electron ran under
    `kScoped` policy. This change switches policy to `kExplicit` right
    before `uv_run()` and reverts it back to original value after `uv_run()`
    completes to provide better compatibility with Node.
    indutny committed May 2, 2021
    Configuration menu
    Copy the full SHA
    b7586e4 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. add comment

    indutny committed May 3, 2021
    Configuration menu
    Copy the full SHA
    bd3906d View commit details
    Browse the repository at this point in the history