There is no need to check `flowing` since `resume` does
nothing when `flowing` is already true.
PR-URL: https://github.com/iojs/io.js/pull/511
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
function flushStdio(subprocess) {
if (subprocess.stdio == null) return;
subprocess.stdio.forEach(function(stream, fd, stdio) {
- if (!stream || !stream.readable || stream._consuming ||
- stream._readableState.flowing)
+ if (!stream || !stream.readable || stream._consuming)
return;
stream.resume();
});