Commit d9465ae
child_process: queue pending messages
It fixes the problem of the child process not receiving messages.
Fixes: #41134
PR-URL: #41221
Reviewed-By: Adrian Estrada <edsadr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>1 parent 75c565b commit d9465aeCopy full SHA for d9465ae
File tree
Expand file treeCollapse file tree
2 files changed
+49
-1
lines changedOpen diff view settings
Filter options
- lib/internal
- test/es-module
Expand file treeCollapse file tree
2 files changed
+49
-1
lines changedOpen diff view settings
Collapse file
lib/internal/child_process.js
Copy file name to clipboardExpand all lines: lib/internal/child_process.js+29-1Lines changed: 29 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
81 | 81 | |
82 | 82 | |
83 | 83 | |
| 84 | + |
84 | 85 | |
85 | 86 | |
86 | 87 | |
| ||
526 | 527 | |
527 | 528 | |
528 | 529 | |
| 530 | + |
529 | 531 | |
530 | 532 | |
531 | 533 | |
| ||
699 | 701 | |
700 | 702 | |
701 | 703 | |
| 704 | + |
| 705 | + |
| 706 | + |
| 707 | + |
| 708 | + |
| 709 | + |
| 710 | + |
| 711 | + |
| 712 | + |
| 713 | + |
| 714 | + |
| 715 | + |
| 716 | + |
| 717 | + |
| 718 | + |
| 719 | + |
| 720 | + |
| 721 | + |
702 | 722 | |
703 | 723 | |
704 | 724 | |
| ||
912 | 932 | |
913 | 933 | |
914 | 934 | |
915 | | - |
| 935 | + |
| 936 | + |
| 937 | + |
| 938 | + |
| 939 | + |
| 940 | + |
| 941 | + |
| 942 | + |
| 943 | + |
916 | 944 | |
917 | 945 | |
918 | 946 | |
|
Collapse file
test/es-module/test-esm-child-process-fork-main.mjs
Copy file name to clipboard+20Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
0 commit comments