Skip to content

Commit 6dc3abe

Browse files
gfranczws-gregm
andauthored
Fix type issue by setting the attribute separately
Co-authored-by: ws-gregm <[email protected]>
1 parent fdb6064 commit 6dc3abe

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
@@ -690,7 +690,8 @@ class LrsCallState {
690690

691691
destroy() {
692692
if (this.statsTimer) {
693-
this.statsTimer = clearInterval(this.statsTimer);
693+
clearInterval(this.statsTimer);
694+
this.statsTimer = null;
694695
}
695696
return null;
696697
}

0 commit comments

Comments
 (0)