mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Merge pull request #2879 from murgatroid99/grpc-js-xds_preserve_stream_type_state
grpc-js-xds: Preserve resource type version and nonce when unsubscribing
This commit is contained in:
commit
137f476040
@ -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…
x
Reference in New Issue
Block a user