[Modify] Remove it
This commit is contained in:
parent
ca49c4eba6
commit
b9966ca2af
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user