grpc-js: Don't clear ping timeout when still connected

This commit is contained in:
Michael Lumish 2022-04-08 11:23:00 -07:00
parent 4e457b52e7
commit ae93d556ec
1 changed files with 1 additions and 1 deletions

View File

@ -773,7 +773,7 @@ export class Subchannel {
}
this.backoffTimeout.unref();
if (!this.keepaliveWithoutCalls) {
this.stopKeepalivePings();
clearInterval(this.keepaliveIntervalId);
}
this.checkBothRefcounts();
}