Explorar o código

add missing ConfigureAwait(false)

Jan Tattermusch %!s(int64=9) %!d(string=hai) anos
pai
achega
be37455297
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/csharp/Grpc.Core/GrpcEnvironment.cs

+ 1 - 1
src/csharp/Grpc.Core/GrpcEnvironment.cs

@@ -105,7 +105,7 @@ namespace Grpc.Core
 
 
             if (instanceToShutdown != null)
             if (instanceToShutdown != null)
             {
             {
-                await instanceToShutdown.ShutdownAsync();
+                await instanceToShutdown.ShutdownAsync().ConfigureAwait(false);
             }
             }
         }
         }