mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +01:00
Treat closing unknown streams as a warning.
This commit is contained in:
parent
7b4fd8932c
commit
b9c1968b48
1 changed files with 1 additions and 1 deletions
|
@ -779,7 +779,7 @@ ServerConnection.prototype.gotRenegotiate = function(id) {
|
||||||
ServerConnection.prototype.gotClose = function(id) {
|
ServerConnection.prototype.gotClose = function(id) {
|
||||||
let c = this.down[id];
|
let c = this.down[id];
|
||||||
if(!c)
|
if(!c)
|
||||||
throw new Error('unknown down stream');
|
console.warn('unknown down stream', id);
|
||||||
c.close();
|
c.close();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue