[Modify] Remove it

This commit is contained in:
sta 2019-11-04 21:14:44 +09:00
parent ca49c4eba6
commit b9966ca2af

View File

@ -604,15 +604,6 @@ namespace WebSocketSharp.Net
return false; return false;
} }
private void checkDisposedOrHeadersSent ()
{
if (_disposed)
throw new ObjectDisposedException (GetType ().ToString ());
if (_headersSent)
throw new InvalidOperationException ("Cannot be changed after the headers are sent.");
}
private void close (bool force) private void close (bool force)
{ {
_disposed = true; _disposed = true;