Skip to content

Commit

Permalink
process: use public readableFlowing property
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ckarande authored and BethGriggs committed Oct 17, 2019
1 parent f1a5a36 commit d6c998a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/process/stdio.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function getMainThreadStdio() {
function onpause() {
if (!stdin._handle)
return;
if (stdin._handle.reading && !stdin._readableState.flowing) {
if (stdin._handle.reading && !stdin.readableFlowing) {
stdin._readableState.reading = false;
stdin._handle.reading = false;
stdin._handle.readStop();
Expand Down

0 comments on commit d6c998a

Please sign in to comment.