[Modify] Remove it
This commit is contained in:
parent
c3ddedab8e
commit
7e2a5728eb
@ -189,28 +189,6 @@ namespace WebSocketSharp.Server
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private bool canSet (out string message)
|
||||
{
|
||||
message = null;
|
||||
|
||||
var state = _sessions.State;
|
||||
if (state == ServerState.Start) {
|
||||
message = "The service has already started.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (state == ServerState.ShuttingDown) {
|
||||
message = "The service is shutting down.";
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Internal Methods
|
||||
|
||||
internal void Start ()
|
||||
|
Loading…
Reference in New Issue
Block a user