[Modify] Polish it
This commit is contained in:
@@ -347,7 +347,7 @@ namespace WebSocketSharp.Server
|
|||||||
}
|
}
|
||||||
|
|
||||||
set {
|
set {
|
||||||
if (ConnectionState != WebSocketState.Connecting) {
|
if (_websocket != null) {
|
||||||
var msg = "The session has already started.";
|
var msg = "The session has already started.";
|
||||||
|
|
||||||
throw new InvalidOperationException (msg);
|
throw new InvalidOperationException (msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user