[Modify] Replace it
This commit is contained in:
parent
1cbe07b8a0
commit
cf8dcc54ce
@ -267,7 +267,8 @@ namespace WebSocketSharp.Net
|
|||||||
/// </exception>
|
/// </exception>
|
||||||
public bool Remove (string uriPrefix)
|
public bool Remove (string uriPrefix)
|
||||||
{
|
{
|
||||||
_listener.CheckDisposed ();
|
if (_listener.IsDisposed)
|
||||||
|
throw new ObjectDisposedException (_listener.GetType ().ToString ());
|
||||||
|
|
||||||
if (uriPrefix == null)
|
if (uriPrefix == null)
|
||||||
throw new ArgumentNullException ("uriPrefix");
|
throw new ArgumentNullException ("uriPrefix");
|
||||||
|
Loading…
Reference in New Issue
Block a user