mirror of
https://github.com/jech/galene.git
synced 2024-11-23 00:55:58 +01:00
Fix error handling in gotClose.
This commit is contained in:
parent
4b2cd311e3
commit
f72061996c
1 changed files with 3 additions and 1 deletions
|
@ -783,8 +783,10 @@ 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) {
|
||||||
console.warn('unknown down stream', id);
|
console.warn('unknown down stream', id);
|
||||||
|
return;
|
||||||
|
}
|
||||||
c.close();
|
c.close();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue