Set this.isCancelled in close method of streamSink.

This commit is contained in:
Mukul Mishra 2017-08-24 13:51:27 +05:30
parent e9ba54940d
commit efad0c7a40

View File

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