[Modify] Remove it
This commit is contained in:
parent
d99c6f56ee
commit
4f84497733
@ -1572,18 +1572,6 @@ namespace WebSocketSharp
|
|||||||
_context = null;
|
_context = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool send (byte[] frameAsBytes)
|
|
||||||
{
|
|
||||||
lock (_forState) {
|
|
||||||
if (_readyState != WebSocketState.Open) {
|
|
||||||
_logger.Error ("The state of the connection has been changed.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return sendBytes (frameAsBytes);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private bool send (Opcode opcode, Stream stream)
|
private bool send (Opcode opcode, Stream stream)
|
||||||
{
|
{
|
||||||
lock (_forSend) {
|
lock (_forSend) {
|
||||||
|
Loading…
Reference in New Issue
Block a user