[Modify] Replace it
This commit is contained in:
parent
fdcb83c494
commit
691477b338
@ -138,8 +138,7 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public void Add (string uriPrefix)
|
public void Add (string uriPrefix)
|
||||||
{
|
{
|
||||||
if (_listener.IsDisposed)
|
_listener.CheckDisposed ();
|
||||||
throw new ObjectDisposedException (_listener.GetType ().ToString ());
|
|
||||||
|
|
||||||
HttpListenerPrefix.CheckPrefix (uriPrefix);
|
HttpListenerPrefix.CheckPrefix (uriPrefix);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user