Skip to content

Commit 7e2a572

Browse files
committed
[Modify] Remove it
1 parent c3ddeda commit 7e2a572

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

websocket-sharp/Server/WebSocketServiceHost.cs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -189,28 +189,6 @@ public TimeSpan WaitTime {
189189

190190
#endregion
191191

192-
#region Private Methods
193-
194-
private bool canSet (out string message)
195-
{
196-
message = null;
197-
198-
var state = _sessions.State;
199-
if (state == ServerState.Start) {
200-
message = "The service has already started.";
201-
return false;
202-
}
203-
204-
if (state == ServerState.ShuttingDown) {
205-
message = "The service is shutting down.";
206-
return false;
207-
}
208-
209-
return true;
210-
}
211-
212-
#endregion
213-
214192
#region Internal Methods
215193

216194
internal void Start ()

0 commit comments

Comments
 (0)