[Modify] Replace it

This commit is contained in:
sta 2017-06-03 16:12:44 +09:00
parent e420a1b733
commit c1551b8b6f

View File

@ -1061,18 +1061,13 @@ namespace WebSocketSharp.Server
/// </summary>
public void Start ()
{
lock (_sync) {
var msg = _state.CheckIfAvailable (true, false, false) ?? checkIfCertificateExists ();
var msg = checkIfCertificateExists ();
if (msg != null) {
_log.Error (msg);
return;
}
_services.Start ();
startReceiving ();
_state = ServerState.Start;
}
start ();
}
/// <summary>