Skip to content

Commit bb6bb4a

Browse files
committed
grpc-js-xds: Preserve resource type version and nonce when unsubscribing
1 parent bae98b3 commit bb6bb4a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

-3
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,6 @@ class AdsCallState {
457457
if (authorityMap.size === 0) {
458458
typeState.subscribedResources.delete(name.authority);
459459
}
460-
if (typeState.subscribedResources.size === 0) {
461-
this.typeStates.delete(type);
462-
}
463460
this.updateNames(type);
464461
}
465462

0 commit comments

Comments
 (0)