- From: Takeshi Yoshino <notifications@github.com>
 - Date: Wed, 08 Mar 2017 23:40:46 -0800
 - To: whatwg/streams <streams@noreply.github.com>
 - Cc: Subscribed <subscribed@noreply.github.com>
 
Received on Thursday, 9 March 2017 07:41:19 UTC
tyoshino commented on this pull request.
>  
     // The promise that was returned from writer.close(). Stored here because it may be fulfilled after the writer
     // has been detached.
-    this._pendingCloseRequest = undefined;
+    this._closeRequest = undefined;
+
+    // Close request is removed from _closeRequest when close() is called on the underlying sink. This prevents it
+    // from being erroneously rejected on error. If a close() call is in-flight, the request is stored here.
+    this._inFlightCloseRequest = undefined;
Filed https://github.com/whatwg/streams/issues/692
-- 
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_r105102004
Received on Thursday, 9 March 2017 07:41:19 UTC