Skip to content

Commit

Permalink
Fix dumb error for readable byte streams
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Jun 23, 2020
1 parent dcb355d commit 6f6a064
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ function ReadableStreamError(stream, e) {
assert(ReadableStreamBYOBReader.isImpl(reader));

for (const readIntoRequest of reader._readIntoRequests) {
rejectPromise(readIntoRequest, e);
readIntoRequest.errorSteps(e);
}

reader._readIntoRequests = [];
Expand Down

0 comments on commit 6f6a064

Please sign in to comment.