Re: [whatwg/streams] piping issue (#509)

I don't think this is pipeTo-specific. It's what always happens when the `.closed` promise is rejected, which happens when you do `reader.releaseLock()`. It happens twice for writer because it sets both `.closed` and `.ready` to rejected.

    new ReadableStream().getReader().releaseLock();
    new WritableStream().getWriter().releaseLock();

The promises would have to be lazily rejected in `get closed()` to avoid the warnings, wouldn't they?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/509#issuecomment-247786396

Received on Saturday, 17 September 2016 16:28:59 UTC