Merge pull request #8817 from mukulmishra18/intermittent-error

Set this.isCancelled in close method of streamSink.
This commit is contained in:
Tim van der Meij 2017-08-25 00:31:44 +02:00 committed by GitHub
commit d368a5baed

View File

@ -1483,6 +1483,7 @@ MessageHandler.prototype = {
if (this.isCancelled) {
return;
}
this.isCancelled = true;
sendStreamRequest({ stream: 'close', });
delete self.streamSinks[streamId];
},