[Modify] Polish it
This commit is contained in:
parent
a82345b72d
commit
bfa211ba1f
@ -461,10 +461,13 @@ namespace WebSocketSharp.Net
|
||||
|
||||
private void removeConnection ()
|
||||
{
|
||||
if (_lastListener != null)
|
||||
_lastListener.RemoveConnection (this);
|
||||
else
|
||||
if (_lastListener == null) {
|
||||
_listener.RemoveConnection (this);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
_lastListener.RemoveConnection (this);
|
||||
}
|
||||
|
||||
private void unregisterContext ()
|
||||
|
Loading…
Reference in New Issue
Block a user