fix compilation on windows

pull/6498/head
Jan Tattermusch 9 years ago
parent 1e1fa0870f
commit dae51b0fe5
  1. 2
      src/csharp/Grpc.Core/Server.cs

@ -287,7 +287,7 @@ namespace Grpc.Core
/// </summary> /// </summary>
private void HandleNewServerRpc(bool success, BatchContextSafeHandle ctx) private void HandleNewServerRpc(bool success, BatchContextSafeHandle ctx)
{ {
Task.Run(AllowOneRpc); Task.Run(() => AllowOneRpc());
if (success) if (success)
{ {

Loading…
Cancel
Save