[Modify] Replace it

master
sta 9 years ago
parent 38d88e0ff8
commit 0ac294aff1

@ -2439,13 +2439,7 @@ namespace WebSocketSharp
return;
}
if (code == (ushort) CloseStatusCode.NoStatus) {
closeAsync (new CloseEventArgs (), true, true, false);
return;
}
var send = !code.IsReserved ();
closeAsync (new CloseEventArgs (code), send, send, false);
closeAsync (code, null);
}
/// <summary>

Loading…
Cancel
Save