diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-01-19 18:37:45 +0100 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-01-19 18:37:45 +0100 |
commit | eb88bf03af7d4d441b0d6ef8127193dddefa9006 (patch) | |
tree | 22f14b4bfcd8e44fc72874c48820844361b603de /src/csharp | |
parent | bb2f7e28edc3e3dd663ad308aed7ed632a0a17bf (diff) |
dispose requestCallContextPool on environment shutdown
Diffstat (limited to 'src/csharp')
-rw-r--r-- | src/csharp/Grpc.Core/GrpcEnvironment.cs | 1 |
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; |