Commit f7206199 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix error handling in gotClose.

parent 4b2cd311
......@@ -783,8 +783,10 @@ ServerConnection.prototype.gotRenegotiate = function(id) {
*/
ServerConnection.prototype.gotClose = function(id) {
let c = this.down[id];
if(!c)
if(!c) {
console.warn('unknown down stream', id);
return;
}
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