Merge pull request #8817 from mukulmishra18/intermittent-error
Set this.isCancelled in close method of streamSink.
This commit is contained in:
commit
d368a5baed
@ -1483,6 +1483,7 @@ MessageHandler.prototype = {
|
|||||||
if (this.isCancelled) {
|
if (this.isCancelled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this.isCancelled = true;
|
||||||
sendStreamRequest({ stream: 'close', });
|
sendStreamRequest({ stream: 'close', });
|
||||||
delete self.streamSinks[streamId];
|
delete self.streamSinks[streamId];
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user