diff options
author | 2016-05-09 19:30:04 -0700 | |
---|---|---|
committer | 2016-05-09 19:48:21 -0700 | |
commit | dae51b0fe5fcc85d2ab698d417d711e39286b380 (patch) | |
tree | e05d1265f456b08e24ebca7cded3d9d76714a9ee /src/csharp/Grpc.Core/Server.cs | |
parent | 1e1fa0870f60b1c0d23da17b2aa7db9a3ca7f1ae (diff) |
fix compilation on windows
Diffstat (limited to 'src/csharp/Grpc.Core/Server.cs')
-rw-r--r-- | src/csharp/Grpc.Core/Server.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Core/Server.cs b/src/csharp/Grpc.Core/Server.cs index 3a337ba831..d538a4671f 100644 --- a/src/csharp/Grpc.Core/Server.cs +++ b/src/csharp/Grpc.Core/Server.cs @@ -287,7 +287,7 @@ namespace Grpc.Core /// </summary> private void HandleNewServerRpc(bool success, BatchContextSafeHandle ctx) { - Task.Run(AllowOneRpc); + Task.Run(() => AllowOneRpc()); if (success) { |