diff --git a/Directory.Build.props b/Directory.Build.props index f3332cb93b..e47830316f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,7 +3,7 @@ 3.46.1 3.47.0 preview.1 - 3.37.5 + 3.37.6 1.0.0 beta.0 2.0.4 diff --git a/Microsoft.Azure.Cosmos/src/Routing/GatewayAddressCache.cs b/Microsoft.Azure.Cosmos/src/Routing/GatewayAddressCache.cs index c49599df2c..4106509ed5 100644 --- a/Microsoft.Azure.Cosmos/src/Routing/GatewayAddressCache.cs +++ b/Microsoft.Azure.Cosmos/src/Routing/GatewayAddressCache.cs @@ -61,7 +61,6 @@ internal class GatewayAddressCache : IAddressCache, IDisposable private bool validateUnknownReplicas; private IOpenConnectionsHandler openConnectionsHandler; - public GatewayAddressCache( Uri serviceEndpoint, Protocol protocol, @@ -502,8 +501,8 @@ public async Task MarkAddressesToUnhealthyAsync( { if (this.disposedValue) { - /// Will enable Listener to un-register in-case of un-graceful dispose - /// + // Will enable Listener to un-register in-case of un-graceful dispose + // throw new ObjectDisposedException(nameof(GatewayAddressCache)); }