Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimkim committed Mar 13, 2018
1 parent bbc8855 commit df42e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Telnet.Server/TelnetServerHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ protected override async void ChannelRead0(IChannelHandlerContext contex, string
response = "Did you say '" + msg + "'?\r\n";
}

ValueTask wait_close = contex.WriteAndFlushAsync(response);
ValueTask waitClose = contex.WriteAndFlushAsync(response);
if (close)
{
await wait_close;
await waitClose;
contex.CloseAsync();
}
}
Expand Down

0 comments on commit df42e17

Please sign in to comment.