From df42e1770a57e740f6769ae3bb06d2c7b3204bee Mon Sep 17 00:00:00 2001 From: Maxim Kim Date: Tue, 13 Mar 2018 11:33:55 -0700 Subject: [PATCH] rename --- examples/Telnet.Server/TelnetServerHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Telnet.Server/TelnetServerHandler.cs b/examples/Telnet.Server/TelnetServerHandler.cs index ea4c3a935..8e7020b4c 100644 --- a/examples/Telnet.Server/TelnetServerHandler.cs +++ b/examples/Telnet.Server/TelnetServerHandler.cs @@ -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(); } }