parent
601c6ad2c2
commit
9d818be73d
|
@ -295,6 +295,7 @@ public class LinkManager implements Closeable {
|
|||
|
||||
String[] ports = getCommPorts();
|
||||
boolean isPortAvailableAgain = Arrays.asList(ports).contains(lastTriedPort);
|
||||
log.info("restart isPortAvailableAgain=" + isPortAvailableAgain);
|
||||
if (isPortAvailableAgain) {
|
||||
connect(lastTriedPort);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue