Skip to content

Commit

Permalink
Merge pull request #2879 from murgatroid99/grpc-js-xds_preserve_strea…
Browse files Browse the repository at this point in the history
…m_type_state

grpc-js-xds: Preserve resource type version and nonce when unsubscribing
  • Loading branch information
murgatroid99 authored Jan 7, 2025
2 parents 7346a18 + 9620806 commit 137f476
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/grpc-js-xds/src/xds-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,6 @@ class AdsCallState {
if (authorityMap.size === 0) {
typeState.subscribedResources.delete(name.authority);
}
if (typeState.subscribedResources.size === 0) {
this.typeStates.delete(type);
}
this.updateNames(type);
}

Expand Down

0 comments on commit 137f476

Please sign in to comment.