|
|
@ -76,8 +76,7 @@ public class IecServerService {
|
|
|
|
private void onlyStopServer(Integer fileId) {
|
|
|
|
private void onlyStopServer(Integer fileId) {
|
|
|
|
IecServer iecServer = StaticVariable.iecServerMap.get(fileId);
|
|
|
|
IecServer iecServer = StaticVariable.iecServerMap.get(fileId);
|
|
|
|
if (iecServer != null) {
|
|
|
|
if (iecServer != null) {
|
|
|
|
log.info("关闭IecServer服务, port=" + iecServer.port);
|
|
|
|
iecServer.stop();
|
|
|
|
iecServer.close();
|
|
|
|
|
|
|
|
StaticVariable.iecServerMap.remove(fileId);
|
|
|
|
StaticVariable.iecServerMap.remove(fileId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|