From 1d73d2370057c6efca45a00f1676722ccd3ac3ab Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 20 Sep 2022 06:13:38 -0400 Subject: [PATCH] Revert "*add a _timeoutCanceled property and abort handeTimeout if true" This reverts commit 309b9b0ac6b93ccfd067ee44da1cd4c01c8ca108. --- src/query/base.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/query/base.ts b/src/query/base.ts index ce84c24..434fa32 100644 --- a/src/query/base.ts +++ b/src/query/base.ts @@ -14,7 +14,6 @@ export default abstract class RpcQueryBase { protected _promise?: Promise; protected _timeoutTimer?: any; protected _timeout: boolean = false; - protected _timeoutCanceled: boolean = false; protected _completed: boolean = false; protected _responses: { [relay: string]: RPCResponse } = {}; protected _errors: { [relay: string]: any } = {}; @@ -35,9 +34,6 @@ export default abstract class RpcQueryBase { } private handeTimeout() { - if (this._timeoutCanceled) { - return; - } this.resolve(undefined, true); }