Skip to content
Snippets Groups Projects
Commit 7608c967 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

fix bug in Server.KillAsync()

parent 1b8210f5
No related branches found
No related tags found
No related merge requests found
...@@ -171,6 +171,8 @@ namespace Grpc.Core ...@@ -171,6 +171,8 @@ namespace Grpc.Core
handle.CancelAllCalls(); handle.CancelAllCalls();
await shutdownTcs.Task.ConfigureAwait(false); await shutdownTcs.Task.ConfigureAwait(false);
DisposeHandle(); DisposeHandle();
await Task.Run(() => GrpcEnvironment.Release()).ConfigureAwait(false);
} }
internal void AddCallReference(object call) internal void AddCallReference(object call)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment