From efad0c7a404b5c0f2882b0e307bf83ad56d94d67 Mon Sep 17 00:00:00 2001 From: Mukul Mishra Date: Thu, 24 Aug 2017 13:51:27 +0530 Subject: [PATCH] Set this.isCancelled in close method of streamSink. --- src/shared/util.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/util.js b/src/shared/util.js index 5777a43b7..9bd0ff1b1 100644 --- a/src/shared/util.js +++ b/src/shared/util.js @@ -1483,6 +1483,7 @@ MessageHandler.prototype = { if (this.isCancelled) { return; } + this.isCancelled = true; sendStreamRequest({ stream: 'close', }); delete self.streamSinks[streamId]; },