diff options
author | 2016-05-31 14:32:27 -0700 | |
---|---|---|
committer | 2016-06-06 15:02:21 -0700 | |
commit | 5858441a2cbca00b711957b3763b958ea4e43f4f (patch) | |
tree | 4bd4e117cc6c491b3d09b5bbfa2562067ebd6637 /src/csharp/Grpc.Core/Channel.cs | |
parent | 85030e31a545b30b84018eab5709aaba412cbbe1 (diff) |
make environment shutdown asynchronous
Diffstat (limited to 'src/csharp/Grpc.Core/Channel.cs')
-rw-r--r-- | src/csharp/Grpc.Core/Channel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Core/Channel.cs b/src/csharp/Grpc.Core/Channel.cs index 9cee752663..b58a6a7381 100644 --- a/src/csharp/Grpc.Core/Channel.cs +++ b/src/csharp/Grpc.Core/Channel.cs @@ -220,7 +220,7 @@ namespace Grpc.Core handle.Dispose(); - await Task.Run(() => GrpcEnvironment.Release()).ConfigureAwait(false); + await GrpcEnvironment.ReleaseAsync().ConfigureAwait(false); } internal ChannelSafeHandle Handle |