[Modify] Replace it

master
sta 9 years ago
parent ce12c9ba5c
commit 8e1638231f

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

Loading…
Cancel
Save