Skip to content

Commit 9620806

Browse files
committed
grpc-js-xds: Preserve resource type version and nonce when unsubscribing
1 parent 7346a18 commit 9620806

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
@@ -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)