Skip to content

Commit 04e7508

Browse files
committed
Fix SerialMonitor reopen on reconnect
1 parent 1943614 commit 04e7508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/AbstractMonitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public void actionPerformed(ActionEvent event) {
7878
@Override
7979
public void actionPerformed(ActionEvent ae) {
8080
try {
81-
if (!Base.getDiscoveryManager().discovery().contains(boardPort)) {
81+
if (Base.getDiscoveryManager().find(boardPort.getAddress()) == null) {
8282
if (!closed) {
8383
suspend();
8484
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy