aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-01-19 18:37:45 +0100
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-01-19 18:37:45 +0100
commiteb88bf03af7d4d441b0d6ef8127193dddefa9006 (patch)
tree22f14b4bfcd8e44fc72874c48820844361b603de /src/csharp
parentbb2f7e28edc3e3dd663ad308aed7ed632a0a17bf (diff)
dispose requestCallContextPool on environment shutdown
Diffstat (limited to 'src/csharp')
-rw-r--r--src/csharp/Grpc.Core/GrpcEnvironment.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/csharp/Grpc.Core/GrpcEnvironment.cs b/src/csharp/Grpc.Core/GrpcEnvironment.cs
index 7b4342b74b..6296f1863b 100644
--- a/src/csharp/Grpc.Core/GrpcEnvironment.cs
+++ b/src/csharp/Grpc.Core/GrpcEnvironment.cs
@@ -381,6 +381,7 @@ namespace Grpc.Core
await Task.Run(() => ShuttingDown?.Invoke(this, null)).ConfigureAwait(false);
await threadPool.StopAsync().ConfigureAwait(false);
+ requestCallContextPool.Dispose();
batchContextPool.Dispose();
GrpcNativeShutdown();
isShutdown = true;