diff options
author | Michael Lumish <mlumish@google.com> | 2015-09-16 14:24:26 -0700 |
---|---|---|
committer | Michael Lumish <mlumish@google.com> | 2015-09-16 14:24:26 -0700 |
commit | 3115638631b10ed79b8edb59669021c6050d46ef (patch) | |
tree | 777e4af4a0128ec25b644d6a58c4cd2eefab8c7f /src | |
parent | e8659971a9cedeccb90d39d2dfe784048baa2f19 (diff) | |
parent | 156a7b6e0f657ea6a1df1cf6574003920f0da714 (diff) |
Merge pull request #3354 from grpc/jtattermusch-patch-2
Don't do .Wait() in async context.
Diffstat (limited to 'src')
-rw-r--r-- | src/csharp/Grpc.IntegrationTesting/InteropClient.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/InteropClient.cs b/src/csharp/Grpc.IntegrationTesting/InteropClient.cs index 0884c6ea60..616093d4ae 100644 --- a/src/csharp/Grpc.IntegrationTesting/InteropClient.cs +++ b/src/csharp/Grpc.IntegrationTesting/InteropClient.cs @@ -131,7 +131,7 @@ namespace Grpc.IntegrationTesting var channel = new Channel(options.ServerHost, options.ServerPort, credentials, channelOptions); TestService.TestServiceClient client = new TestService.TestServiceClient(channel); await RunTestCaseAsync(client, options); - channel.ShutdownAsync().Wait(); + await channel.ShutdownAsync(); } private async Task RunTestCaseAsync(TestService.TestServiceClient client, ClientOptions options) |