mirror of https://github.com/grpc/grpc-node.git
grpc-js-xds: Preserve resource type version and nonce when unsubscribing
This commit is contained in:
parent
6b1cd67cc6
commit
cfaa0bcf52
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue