Skip to content

Commit b9966ca

Browse files
committed
[Modify] Remove it
1 parent ca49c4e commit b9966ca

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

websocket-sharp/Net/HttpListenerResponse.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -604,15 +604,6 @@ private bool canAddOrUpdate (Cookie cookie)
604604
return false;
605605
}
606606

607-
private void checkDisposedOrHeadersSent ()
608-
{
609-
if (_disposed)
610-
throw new ObjectDisposedException (GetType ().ToString ());
611-
612-
if (_headersSent)
613-
throw new InvalidOperationException ("Cannot be changed after the headers are sent.");
614-
}
615-
616607
private void close (bool force)
617608
{
618609
_disposed = true;

0 commit comments

Comments
 (0)