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:
Michael Lumish 2025-01-07 15:48:25 -08:00 committed by GitHub
commit 137f476040
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -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);
}