Skip to content

Commit 03a3468

Browse files
ckarandeBridgeAR
authored andcommitted
process: use public readableFlowing property
PR-URL: #29502 Refs: #445 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]>
1 parent 6b30802 commit 03a3468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/process/stdio.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function getMainThreadStdio() {
123123
function onpause() {
124124
if (!stdin._handle)
125125
return;
126-
if (stdin._handle.reading && !stdin._readableState.flowing) {
126+
if (stdin._handle.reading && !stdin.readableFlowing) {
127127
stdin._readableState.reading = false;
128128
stdin._handle.reading = false;
129129
stdin._handle.readStop();

0 commit comments

Comments
 (0)