[Modify] Polish it

This commit is contained in:
sta 2021-10-29 19:51:50 +09:00
parent 457a60b6cd
commit 5539e05478

View File

@ -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);