aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Examples.Tests
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-20 14:54:33 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-20 18:36:28 -0700
commit2b3579541b2500ac5b09766920c8cba3a996a73a (patch)
treed2a21ef29a23dd4e412fa00ff76d52153c3ada99 /src/csharp/Grpc.Examples.Tests
parent10cab1396fd6fce4539f6368bda6ea908e1ce27b (diff)
get rid of explicit GrpcEnvironment.Shutdown()
Diffstat (limited to 'src/csharp/Grpc.Examples.Tests')
-rw-r--r--src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs b/src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs
index fdef950f09..36c1c947bd 100644
--- a/src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs
+++ b/src/csharp/Grpc.Examples.Tests/MathClientServerTests.cs
@@ -68,9 +68,8 @@ namespace math.Tests
[TestFixtureTearDown]
public void Cleanup()
{
- channel.Dispose();
+ channel.ShutdownAsync().Wait();
server.ShutdownAsync().Wait();
- GrpcEnvironment.Shutdown();
}
[Test]