From e5635b04a31a90661141577b214e8b14dde37021 Mon Sep 17 00:00:00 2001 From: Chetan Karande Date: Sun, 8 Sep 2019 16:23:56 -0400 Subject: [PATCH] stdio: use public readableFlowing property --- lib/internal/process/stdio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/process/stdio.js b/lib/internal/process/stdio.js index 61892165999d92..08781547c48952 100644 --- a/lib/internal/process/stdio.js +++ b/lib/internal/process/stdio.js @@ -123,7 +123,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();