[Fix] Add a condition

This commit is contained in:
sta 2017-02-06 15:58:05 +09:00
parent fb56d7bbb1
commit c7b1657ec7

View File

@ -859,7 +859,7 @@ namespace WebSocketSharp.Server
}
}
if (_state == ServerState.Start)
if (_state == ServerState.Ready || _state == ServerState.Start)
abort ();
}