Fix error handling in gotClose.
This commit is contained in:
+3
-1
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user