[Modify] Polish it
This commit is contained in:
parent
a4da7191e4
commit
94adee0aaf
@ -139,9 +139,8 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public void Add (string uriPrefix)
|
public void Add (string uriPrefix)
|
||||||
{
|
{
|
||||||
_listener.CheckDisposed ();
|
|
||||||
|
|
||||||
HttpListenerPrefix.CheckPrefix (uriPrefix);
|
HttpListenerPrefix.CheckPrefix (uriPrefix);
|
||||||
|
_listener.CheckDisposed ();
|
||||||
|
|
||||||
if (_prefixes.Contains (uriPrefix))
|
if (_prefixes.Contains (uriPrefix))
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user