[Fix] Return true
For Closing
This commit is contained in:
parent
15bc590c68
commit
50a3379392
@ -1477,7 +1477,7 @@ namespace WebSocketSharp
|
||||
lock (_forState) {
|
||||
if (_readyState != WebSocketState.Open) {
|
||||
_logger.Error ("The state of the connection has been changed.");
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!sendBytes (pong.ToArray ()))
|
||||
|
Loading…
Reference in New Issue
Block a user