[Modify] Replace it
This commit is contained in:
parent
0212b93558
commit
4c6bc00341
@ -163,7 +163,9 @@ namespace WebSocketSharp.Net
|
||||
/// </exception>
|
||||
public void Clear ()
|
||||
{
|
||||
_listener.CheckDisposed ();
|
||||
if (_listener.IsDisposed)
|
||||
throw new ObjectDisposedException (_listener.GetType ().ToString ());
|
||||
|
||||
_prefixes.Clear ();
|
||||
|
||||
if (!_listener.IsListening)
|
||||
|
Loading…
Reference in New Issue
Block a user