1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-23 00:55:58 +01:00

Treat closing unknown streams as a warning.

This commit is contained in:
Juliusz Chroboczek 2021-07-16 23:10:13 +02:00
parent 7b4fd8932c
commit b9c1968b48

View file

@ -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();
}; };