grpc-js-xds: Preserve resource type version and nonce when unsubscribing

This commit is contained in:
Michael Lumish 2025-01-07 14:24:25 -08:00
parent 6b1cd67cc6
commit cfaa0bcf52
1 changed files with 0 additions and 3 deletions

View File

@ -455,9 +455,6 @@ class AdsCallState {
if (authorityMap.size === 0) {
typeState.subscribedResources.delete(name.authority);
}
if (typeState.subscribedResources.size === 0) {
this.typeStates.delete(type);
}
this.updateNames(type);
}