mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
grpc-js-xds: Preserve resource type version and nonce when unsubscribing
This commit is contained in:
parent
f8338c55c2
commit
dd67eb6a8a
@ -451,9 +451,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…
x
Reference in New Issue
Block a user