[Modify] Polish it
This commit is contained in:
parent
06167a4613
commit
565395a70b
@ -2230,7 +2230,7 @@ namespace WebSocketSharp
|
|||||||
lock (_forSend) {
|
lock (_forSend) {
|
||||||
lock (_forState) {
|
lock (_forState) {
|
||||||
if (_readyState != WebSocketState.Open) {
|
if (_readyState != WebSocketState.Open) {
|
||||||
_logger.Error ("The state of the connection has been changed.");
|
_logger.Error ("The connection is closing.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user