Commit 7e2cd72
committed
src: add callback scope for native immediates
This ensures that microtasks scheduled by native immediates are run
after the tasks are done. In particular, this affects the inspector
integration since 6f9f546.
Fixes: #33002
Refs: #32523
Backport-PR-URL: #35241
PR-URL: #34366
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 1474405 commit 7e2cd72Copy full SHA for 7e2cd72
File tree
Expand file treeCollapse file tree
3 files changed
+38
-7
lines changedOpen diff view settings
Filter options
- src
- test
- async-hooks
- cctest
Expand file treeCollapse file tree
3 files changed
+38
-7
lines changedOpen diff view settings
Collapse file
+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
708 | 708 | |
709 | 709 | |
710 | 710 | |
| 711 | + |
| 712 | + |
| 713 | + |
711 | 714 | |
712 | 715 | |
713 | 716 | |
|
Collapse file
test/async-hooks/test-late-hook-enable.js
Copy file name to clipboardExpand all lines: test/async-hooks/test-late-hook-enable.js+9-7Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
21 | | - |
| 20 | + |
| 21 | + |
| 22 | + |
22 | 23 | |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
28 | 30 | |
29 | 31 | |
30 | 32 | |
|
Collapse file
test/cctest/test_environment.cc
Copy file name to clipboardExpand all lines: test/cctest/test_environment.cc+26Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
466 | 466 | |
467 | 467 | |
468 | 468 | |
| 469 | + |
| 470 | + |
| 471 | + |
| 472 | + |
| 473 | + |
| 474 | + |
| 475 | + |
| 476 | + |
| 477 | + |
| 478 | + |
| 479 | + |
| 480 | + |
| 481 | + |
| 482 | + |
| 483 | + |
| 484 | + |
| 485 | + |
| 486 | + |
| 487 | + |
| 488 | + |
| 489 | + |
| 490 | + |
| 491 | + |
| 492 | + |
| 493 | + |
| 494 | + |
0 commit comments