Re: [whatwg/streams] Release reader immediately when shutting down a pipe (PR #1208)

@MattiasBuelens commented on this pull request.



> @@ -2210,6 +2221,10 @@ The following abstract operations operate on {{ReadableStream}} instances at a h
     ask to shutdown, optionally with an error |error|, then:
    1. If |shuttingDown| is true, abort these substeps.
    1. Set |shuttingDown| to true.
+   1. If |reader| [=implements=] {{ReadableStreamBYOBReader}}, perform

Hmm, it would conflict with this note in "shutdown with an action" though:
> This exchange of readers is not observable to author code and the user agent is free to implement this differently, for example by keeping the same reader and internally aborting its pending read requests. 

🤔 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1208#discussion_r793118836

You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1208/review/864201536@github.com>

Received on Wednesday, 26 January 2022 22:55:13 UTC