Skip to content

Commit 137f476

Browse files
authored
Merge pull request #2879 from murgatroid99/grpc-js-xds_preserve_stream_type_state
grpc-js-xds: Preserve resource type version and nonce when unsubscribing
2 parents 7346a18 + 9620806 commit 137f476

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/grpc-js-xds/src/xds-client.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,6 @@ class AdsCallState {
458458
if (authorityMap.size === 0) {
459459
typeState.subscribedResources.delete(name.authority);
460460
}
461-
if (typeState.subscribedResources.size === 0) {
462-
this.typeStates.delete(type);
463-
}
464461
this.updateNames(type);
465462
}
466463

0 commit comments

Comments
 (0)