Skip to content

Commit

Permalink
fix compilation on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jtattermusch committed May 10, 2016
1 parent 1e1fa08 commit dae51b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/csharp/Grpc.Core/Server.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ private async Task HandleCallAsync(ServerRpcNew newRpc)
/// </summary>
private void HandleNewServerRpc(bool success, BatchContextSafeHandle ctx)
{
Task.Run(AllowOneRpc);
Task.Run(() => AllowOneRpc());

if (success)
{
Expand Down

0 comments on commit dae51b0

Please sign in to comment.