Skip to content

Commit 1004b9b

Browse files
Wang Xinyongmcollina
Wang Xinyong
authored andcommitted
stream: remove unused ranOut from ReadableState
flag `ranOut` became unused since 0f8de5e, but 0f8de5e did not remove it. PR-URL: #11139 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 4897ae2 commit 1004b9b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/_stream_readable.js

-4
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ function ReadableState(options, stream) {
8181
// Everything else in the universe uses 'utf8', though.
8282
this.defaultEncoding = options.defaultEncoding || 'utf8';
8383

84-
// when piping, we only care about 'readable' events that happen
85-
// after read()ing all the bytes and not getting any pushback.
86-
this.ranOut = false;
87-
8884
// the number of writers that are awaiting a drain event in .pipe()s
8985
this.awaitDrain = 0;
9086

0 commit comments

Comments
 (0)