[Modify] Replace it

This commit is contained in:
sta 2021-05-08 20:45:25 +09:00
parent 467a79531c
commit ecb1c3ad22

View File

@ -223,8 +223,7 @@ namespace WebSocketSharp.Net
/// </exception> /// </exception>
public void CopyTo (string[] array, int offset) public void CopyTo (string[] array, int offset)
{ {
if (_listener.IsDisposed) _listener.CheckDisposed ();
throw new ObjectDisposedException (_listener.GetType ().ToString ());
_prefixes.CopyTo (array, offset); _prefixes.CopyTo (array, offset);
} }