Skip to content

Commit 588b69c

Browse files
gfranczws-gregm
authored andcommitted
Fix type issue by setting the attribute separately
Co-authored-by: ws-gregm <[email protected]>
1 parent 621f401 commit 588b69c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: packages/grpc-js-xds/src/xds-client.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,8 @@ class LrsCallState {
684684

685685
destroy() {
686686
if (this.statsTimer) {
687-
this.statsTimer = clearInterval(this.statsTimer);
687+
clearInterval(this.statsTimer);
688+
this.statsTimer = null;
688689
}
689690
return null;
690691
}

0 commit comments

Comments
 (0)