diff --git a/packages/grpc-js/src/backoff-timeout.ts b/packages/grpc-js/src/backoff-timeout.ts index e2fd4a2c..8be560da 100644 --- a/packages/grpc-js/src/backoff-timeout.ts +++ b/packages/grpc-js/src/backoff-timeout.ts @@ -132,8 +132,8 @@ export class BackoffTimeout { clearTimeout(this.timerId); this.timerId = setTimeout(() => { this.trace('timer fired'); - this.callback(); this.running = false; + this.callback(); }, delay); if (!this.hasRef) { this.timerId.unref?.();