trop[bot]
a4c590e288
fix: allow Node.js to manage microtasks queue ( #28972 )
...
* 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.
* add comment
Co-authored-by: Fedor Indutny <fedor@indutny.com >
2021-05-03 23:01:13 -07:00
..
2021-03-16 19:21:02 +09:00
2021-03-16 19:21:02 +09:00
2021-01-05 11:30:01 +09:00
2021-02-24 18:07:27 +09:00
2021-02-08 17:36:25 +09:00
2020-04-28 23:16:10 -07:00
2020-11-18 09:04:16 -08:00
2020-04-13 16:39:26 -07:00
2019-06-19 17:33:28 -07:00
2020-07-13 21:13:34 -04:00
2019-06-19 17:33:28 -07:00
2019-06-19 17:33:28 -07:00
2021-03-13 05:01:19 -08:00
2021-03-13 05:01:19 -08:00
2020-10-27 10:49:25 -07:00
2020-05-07 13:31:26 -07:00
2020-04-24 12:57:41 -07:00
2020-02-04 12:19:40 -08:00
2020-05-07 13:31:26 -07:00
2020-05-07 13:31:26 -07:00
2020-08-12 11:33:58 -07:00
2019-06-19 17:33:28 -07:00
2019-06-19 17:33:28 -07:00
2019-06-19 17:33:28 -07:00
2020-09-29 11:40:31 -04:00
2020-09-29 11:40:31 -04:00
2020-05-04 10:49:29 -07:00
2020-05-04 10:49:29 -07:00
2020-05-04 10:49:29 -07:00
2020-05-04 10:49:29 -07:00
2020-05-26 13:06:26 -07:00
2020-03-14 16:54:14 -04:00
2019-09-16 18:12:00 -04:00
2019-06-19 17:33:28 -07:00
2019-06-19 17:33:28 -07:00
2019-06-19 17:33:28 -07:00
2019-06-19 17:33:28 -07:00
2019-06-19 17:33:28 -07:00
2021-05-03 23:01:13 -07:00
2021-03-23 03:00:36 -07:00
2020-09-17 16:08:57 -06:00
2020-10-20 12:10:15 -07:00
2019-10-23 09:26:32 -07:00
2020-11-10 09:06:03 -08:00
2020-11-10 09:06:03 -08:00
2020-09-02 10:32:33 -07:00
2020-09-02 10:32:33 -07:00
2020-09-02 10:32:33 -07:00
2021-03-23 05:15:40 -07:00
2021-04-26 16:23:06 +09:00
2020-09-02 10:32:33 -07:00
2020-05-20 09:44:27 -07:00
2020-02-03 14:01:10 -08:00
2020-10-26 11:56:31 -07:00
2019-07-30 13:49:24 -07:00
2020-07-13 21:13:34 -04:00
2019-10-31 16:56:00 +09:00
2020-03-11 18:07:54 -07:00
2020-03-11 18:07:54 -07:00
2021-02-01 16:42:43 -05:00