Commit 61415dc
committed
lib: defer pausing stdin to the next tick
This is done to match the stream implementation, which also
only actually stops reading in the next tick after the `'pause'`
event is emitted.
PR-URL: #19377
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 9e1dcdc commit 61415dcCopy full SHA for 61415dc
File tree
Expand file treeCollapse file tree
1 file changed
+13
-6
lines changedOpen diff view settings
Filter options
- lib/internal/process
Expand file treeCollapse file tree
1 file changed
+13
-6
lines changedOpen diff view settings
Collapse file
lib/internal/process/stdio.js
Copy file name to clipboardExpand all lines: lib/internal/process/stdio.js+13-6Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
109 | 109 | |
110 | 110 | |
111 | 111 | |
112 | | - |
113 | | - |
| 112 | + |
| 113 | + |
| 114 | + |
114 | 115 | |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
115 | 120 | |
116 | 121 | |
117 | | - |
118 | | - |
119 | | - |
120 | | - |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
121 | 128 | |
122 | 129 | |
123 | 130 | |
|
0 commit comments