NetMarshalServer fix disconnect all bug.
This commit is contained in:
parent
ae73866bf1
commit
1f48071c11
@ -367,10 +367,9 @@ public class NetMarshalServer implements Closeable {
|
||||
}
|
||||
|
||||
private void disconnectAllInternal() throws IOException {
|
||||
synchronized (slocksock) {
|
||||
for (NetMarshalClient c : clients)
|
||||
if (c.isRunning()) c.close();
|
||||
}
|
||||
NetMarshalClient[] clients = getConnectedClients();
|
||||
for (NetMarshalClient c : clients)
|
||||
if (c.isRunning()) c.close();
|
||||
}
|
||||
|
||||
protected NetMarshalClient generateClientSocket(Socket socketIn) {
|
||||
|
Loading…
Reference in New Issue
Block a user