[Modify] Move it out
This commit is contained in:
parent
c2032eab71
commit
cbe6d690dc
@ -2773,16 +2773,16 @@ namespace WebSocketSharp
|
||||
return;
|
||||
}
|
||||
|
||||
lock (_forConn) {
|
||||
if (!checkIfAvailable (true, false, false, true, out msg)) {
|
||||
_logger.Error (msg);
|
||||
if (cookie == null) {
|
||||
_logger.Error ("'cookie' is null.");
|
||||
error ("An error has occurred in setting a cookie.", null);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (cookie == null) {
|
||||
_logger.Error ("'cookie' is null.");
|
||||
lock (_forConn) {
|
||||
if (!checkIfAvailable (true, false, false, true, out msg)) {
|
||||
_logger.Error (msg);
|
||||
error ("An error has occurred in setting a cookie.", null);
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user