mirror of https://github.com/grpc/grpc-node.git
Merge pull request #2887 from murgatroid99/grpc-js-xds_preserve_type_state_1.9.x
grpc-js-xds: Preserve resource type version and nonce when unsubscribing (1.9.x)
This commit is contained in:
commit
ff204f7429
|
@ -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…
Reference in New Issue