aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Core/Channel.cs
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-05-31 14:32:27 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-06-06 15:02:21 -0700
commit5858441a2cbca00b711957b3763b958ea4e43f4f (patch)
tree4bd4e117cc6c491b3d09b5bbfa2562067ebd6637 /src/csharp/Grpc.Core/Channel.cs
parent85030e31a545b30b84018eab5709aaba412cbbe1 (diff)
make environment shutdown asynchronous
Diffstat (limited to 'src/csharp/Grpc.Core/Channel.cs')
-rw-r--r--src/csharp/Grpc.Core/Channel.cs2
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