Removes unneed sync

This commit is contained in:
Sotr
2018-05-30 16:58:45 +08:00
parent 91174b5064
commit c773c1f010

View File

@@ -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();
} }