1
Fork 0

Fix typo in gotAbort.

This commit is contained in:
Juliusz Chroboczek 2020-08-13 20:11:21 +02:00
parent 04b0951530
commit 0102bdc128
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ ServerConnection.prototype.gotClose = function(id) {
* @param {string} id
*/
ServerConnection.prototype.gotAbort = function(id) {
let c = this.down[id];
let c = this.up[id];
if(!c)
throw new Error('unknown up stream');
if(c.onabort)