mirror of
https://github.com/grpc/grpc-node.git
synced 2026-01-25 14:27:06 +00:00
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…
x
Reference in New Issue
Block a user