[Modify] Move it
This commit is contained in:
parent
8e6b88ab71
commit
e36ee5e7ac
@ -302,6 +302,9 @@ namespace WebSocketSharp.Net
|
||||
conn._lastListener = lsnr;
|
||||
}
|
||||
|
||||
if (!conn._context.Authenticate ())
|
||||
return;
|
||||
|
||||
if (conn._context.Register ())
|
||||
conn._contextRegistered = true;
|
||||
|
||||
|
@ -582,9 +582,6 @@ namespace WebSocketSharp.Net
|
||||
if (!_listening)
|
||||
return false;
|
||||
|
||||
if (!context.Authenticate ())
|
||||
return false;
|
||||
|
||||
lock (_ctxRegistrySync) {
|
||||
if (!_listening)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user