Refactored a few for HttpConnection.cs
This commit is contained in:
parent
1692f87d07
commit
4fbcd862f3
@ -395,12 +395,10 @@ namespace WebSocketSharp.Net
|
||||
|
||||
private void removeConnection ()
|
||||
{
|
||||
if (_lastListener == null) {
|
||||
if (_lastListener != null)
|
||||
_lastListener.RemoveConnection (this);
|
||||
else
|
||||
_listener.RemoveConnection (this);
|
||||
return;
|
||||
}
|
||||
|
||||
_lastListener.RemoveConnection (this);
|
||||
}
|
||||
|
||||
private void unbind ()
|
||||
|
Loading…
Reference in New Issue
Block a user