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 {
|
private void disconnectAllInternal() throws IOException {
|
||||||
synchronized (slocksock) {
|
NetMarshalClient[] clients = getConnectedClients();
|
||||||
for (NetMarshalClient c : clients)
|
for (NetMarshalClient c : clients)
|
||||||
if (c.isRunning()) c.close();
|
if (c.isRunning()) c.close();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected NetMarshalClient generateClientSocket(Socket socketIn) {
|
protected NetMarshalClient generateClientSocket(Socket socketIn) {
|
||||||
|
Loading…
Reference in New Issue
Block a user