Re: [whatwg/streams] Pipe completes before all writes are finished with preventClose = true (#882)

Great catch! I think your proposed fix is probably right, although I could swear there was an important reason for resetting there... But `currentWrite` is only used in a few places, and they seem like they'd all continue working just as well or better with this change.

So yeah, a test and reference implementation PR would be welcome!

-- 
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/882#issuecomment-365773830

Received on Wednesday, 14 February 2018 23:01:44 UTC