1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Fix SerialMonitor reopen on reconnect

This commit is contained in:
Martino Facchin 2019-01-18 11:18:58 +01:00
parent 9a63965904
commit b7a6d93d0a

View File

@ -80,7 +80,7 @@ public abstract class AbstractMonitor extends JFrame implements ActionListener {
@Override
public void actionPerformed(ActionEvent ae) {
try {
if (!Base.getDiscoveryManager().discovery().contains(boardPort)) {
if (Base.getDiscoveryManager().find(boardPort.getAddress()) == null) {
if (!closed) {
suspend();
}