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
7346a186e3
commit
9620806dcd
|
|
@ -458,9 +458,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