Removes unneed sync
This commit is contained in:
@@ -159,9 +159,7 @@ public class NonblockingServerConnection {
|
|||||||
if (manager.preparing) continue;
|
if (manager.preparing) continue;
|
||||||
|
|
||||||
needRemoval = true;
|
needRemoval = true;
|
||||||
synchronized (pending) {
|
pending.add(manager);
|
||||||
pending.add(manager);
|
|
||||||
}
|
|
||||||
|
|
||||||
manager.handleDisconnection();
|
manager.handleDisconnection();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user