Skip to content

Commit d6c998a

Browse files
ckarandeBethGriggs
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 f1a5a36 commit d6c998a

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
@@ -132,7 +132,7 @@ function getMainThreadStdio() {
132132
function onpause() {
133133
if (!stdin._handle)
134134
return;
135-
if (stdin._handle.reading && !stdin._readableState.flowing) {
135+
if (stdin._handle.reading && !stdin.readableFlowing) {
136136
stdin._readableState.reading = false;
137137
stdin._handle.reading = false;
138138
stdin._handle.readStop();

0 commit comments

Comments
 (0)