Home
last modified time | relevance | path

Searched refs:ReleaseAsync (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DGrpcEnvironmentTest.cs38 GrpcEnvironment.ReleaseAsync().Wait(); in InitializeAndShutdownGrpcEnvironment()
47 GrpcEnvironment.ReleaseAsync().Wait(); in SubsequentInvocations()
48 GrpcEnvironment.ReleaseAsync().Wait(); in SubsequentInvocations()
57 GrpcEnvironment.ReleaseAsync().Wait(); in InitializeAfterShutdown()
60 GrpcEnvironment.ReleaseAsync().Wait(); in InitializeAfterShutdown()
69 …t.ThrowsAsync(typeof(InvalidOperationException), async () => await GrpcEnvironment.ReleaseAsync()); in ReleaseWithoutAddRef()
88 GrpcEnvironment.ReleaseAsync().Wait(); in ShuttingDownEventIsFired()
DPInvokeTest.cs53 GrpcEnvironment.ReleaseAsync().Wait(); in CompletionQueueCreateSyncDestroyBenchmark()
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/
DCompletionQueueSafeHandleTest.cs36 GrpcEnvironment.ReleaseAsync().Wait(); in CreateSyncAndDestroy()
47 GrpcEnvironment.ReleaseAsync().Wait(); in CreateAsyncAndShutdown()
/external/grpc-grpc/src/csharp/Grpc.Microbenchmarks/
DCompletionRegistryBenchmark.cs40 GrpcEnvironment.ReleaseAsync().Wait(); in Cleanup()
DSendMessageBenchmark.cs42 GrpcEnvironment.ReleaseAsync().Wait(); in Cleanup()
/external/grpc-grpc/src/csharp/Grpc.Core/
DChannel.cs257 await GrpcEnvironment.ReleaseAsync().ConfigureAwait(false); in ShutdownAsync()
DGrpcEnvironment.cs87 internal static async Task ReleaseAsync() in ReleaseAsync() method in Grpc.Core.GrpcEnvironment
DServer.cs229 await GrpcEnvironment.ReleaseAsync().ConfigureAwait(false); in ShutdownInternalAsync()