Skip to content

Commit

Permalink
Fix SerialMonitor reopen on reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Jul 18, 2019
1 parent 9a63965 commit b7a6d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/processing/app/AbstractMonitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void actionPerformed(ActionEvent event) {
@Override
public void actionPerformed(ActionEvent ae) {
try {
if (!Base.getDiscoveryManager().discovery().contains(boardPort)) {
if (Base.getDiscoveryManager().find(boardPort.getAddress()) == null) {
if (!closed) {
suspend();
}
Expand Down

0 comments on commit b7a6d93

Please sign in to comment.