[Modify] Polish it
This commit is contained in:
parent
eed3abc99a
commit
4af39b591d
@ -1071,6 +1071,7 @@ namespace WebSocketSharp.Server
|
|||||||
{
|
{
|
||||||
if (_websocket == null) {
|
if (_websocket == null) {
|
||||||
var msg = "The current state of the connection is not Open.";
|
var msg = "The current state of the connection is not Open.";
|
||||||
|
|
||||||
throw new InvalidOperationException (msg);
|
throw new InvalidOperationException (msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user