[Modify] Add a null check
This commit is contained in:
parent
df30241fe3
commit
967097ea9a
@ -246,6 +246,9 @@ namespace WebSocketSharp.Net
|
||||
|
||||
internal void Unregister ()
|
||||
{
|
||||
if (_listener == null)
|
||||
return;
|
||||
|
||||
_listener.UnregisterContext (this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user