- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 07 Mar 2017 03:52:55 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 7 March 2017 11:53:28 UTC
tyoshino commented on this pull request.
> @@ -586,7 +611,7 @@ function WritableStreamDefaultWriterCloseWithErrorPropagation(writer) {
assert(stream !== undefined);
const state = stream._state;
- if (state === 'closing' || state === 'closed') {
+ if ((state === 'writable' && stream._closeRequest !== undefined) || state === 'closed') {
Yes. Simplified
--
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/pull/672#discussion_r104649390
Received on Tuesday, 7 March 2017 11:53:28 UTC