提交 4c29fa2e authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 5663de87
......@@ -246,6 +246,7 @@ public class TcpServer implements Service {
ArrayList list = new ArrayList(running);
for (int i = 0; i < list.size(); i++) {
TcpServerThread c = (TcpServerThread) list.get(i);
if (c != null) {
c.close();
try {
c.getThread().join(100);
......@@ -254,6 +255,7 @@ public class TcpServer implements Service {
}
}
}
}
public static void stopServer(int port, String password, int shutdownMode) {
TcpServer server = (TcpServer) SERVERS.get("" + port);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论