[Modify] Remove it
This commit is contained in:
parent
36c3461600
commit
eb140af082
@ -461,18 +461,6 @@ namespace WebSocketSharp.Net
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void registerContext (HttpListener listener)
|
|
||||||
{
|
|
||||||
if (!listener.RegisterContext (_context)) {
|
|
||||||
_context.ErrorStatusCode = 503;
|
|
||||||
_context.SendError ();
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
_contextRegistered = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void unregisterContext ()
|
private void unregisterContext ()
|
||||||
{
|
{
|
||||||
if (!_contextRegistered)
|
if (!_contextRegistered)
|
||||||
|
Loading…
Reference in New Issue
Block a user