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
76b48cb36f
commit
760fc4252e
|
@ -451,9 +451,6 @@ class AdsCallState {
|
||||||
if (authorityMap.size === 0) {
|
if (authorityMap.size === 0) {
|
||||||
typeState.subscribedResources.delete(name.authority);
|
typeState.subscribedResources.delete(name.authority);
|
||||||
}
|
}
|
||||||
if (typeState.subscribedResources.size === 0) {
|
|
||||||
this.typeStates.delete(type);
|
|
||||||
}
|
|
||||||
this.updateNames(type);
|
this.updateNames(type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue