[Modify] Polish it
This commit is contained in:
parent
457a60b6cd
commit
5539e05478
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user