fix(core): correctly cancel on timeout
im dumb lol
This commit is contained in:
parent
c0ae65b60f
commit
d828d497db
1 changed files with 1 additions and 1 deletions
|
@ -1453,7 +1453,7 @@ export class SessionConnection extends PersistentConnection {
|
|||
}
|
||||
|
||||
if (timeout) {
|
||||
pending.timeout = setTimeout(this._cancelRpc, timeout, pending, true)
|
||||
pending.timeout = setTimeout(() => this._cancelRpc(pending, true), timeout)
|
||||
}
|
||||
|
||||
if (abortSignal) {
|
||||
|
|
Loading…
Reference in a new issue