Skip to content

Commit d6c998a

Browse files
ckarandeBethGriggs
authored andcommittedOct 17, 2019
process: use public readableFlowing property
PR-URL: #29502 Refs: #445 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
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)
Please sign in to comment.