diff --git a/src/shared/protocol.ts b/src/shared/protocol.ts index a0f3d075..97213bf0 100644 --- a/src/shared/protocol.ts +++ b/src/shared/protocol.ts @@ -360,9 +360,7 @@ export abstract class Protocol< const responseHandler = this._responseHandlers.get(messageId); if (this._timeoutInfo.has(messageId) && responseHandler) { try { - if (!this._resetTimeout(messageId)) { - return; - } + this._resetTimeout(messageId); } catch (error) { responseHandler(error as Error); return;