Re: [whatwg/streams] pipeTo: Read fulfilled after shutdown started (Issue #1207)

I've found at least one way to trigger buggy behavior, by using `pipeTo()` with an `AbortSignal`. One way to fix this is by releasing the reader at the start of the shutdown process, see #1208.

I'm not sure if I can trigger a similar bug by *erroring* the destination. We only wait for pending writes to complete if the destination is still `"writable"`, so we won't do that in this case. 🤔

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1207#issuecomment-1013781968

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

Message ID: <whatwg/streams/issues/1207/1013781968@github.com>

Received on Sunday, 16 January 2022 00:29:27 UTC