Commit b9c1968b authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Treat closing unknown streams as a warning.

parent 7b4fd893
......@@ -779,7 +779,7 @@ ServerConnection.prototype.gotRenegotiate = function(id) {
ServerConnection.prototype.gotClose = function(id) {
let c = this.down[id];
if(!c)
throw new Error('unknown down stream');
console.warn('unknown down stream', id);
c.close();
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment