diff --git a/src/Microsoft.Extensions.Configuration.AzureKeyVault/AzureKeyVaultConfigurationProvider.cs b/src/Microsoft.Extensions.Configuration.AzureKeyVault/AzureKeyVaultConfigurationProvider.cs index d94d79c..0f5a08d 100644 --- a/src/Microsoft.Extensions.Configuration.AzureKeyVault/AzureKeyVaultConfigurationProvider.cs +++ b/src/Microsoft.Extensions.Configuration.AzureKeyVault/AzureKeyVaultConfigurationProvider.cs @@ -38,11 +38,7 @@ namespace Microsoft.Extensions.Configuration.AzureKeyVault _manager = manager; } - /// - public override void Load() - { - LoadAsync().GetAwaiter().GetResult(); - } + public override void Load() => LoadAsync().ConfigureAwait(false).GetAwaiter().GetResult(); private async Task LoadAsync() {