summaryrefslogtreecommitdiff
path: root/altosui/AltosEepromDownload.java
diff options
context:
space:
mode:
Diffstat (limited to 'altosui/AltosEepromDownload.java')
-rw-r--r--altosui/AltosEepromDownload.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/altosui/AltosEepromDownload.java b/altosui/AltosEepromDownload.java
index b44a1451..358ad337 100644
--- a/altosui/AltosEepromDownload.java
+++ b/altosui/AltosEepromDownload.java
@@ -373,8 +373,12 @@ public class AltosEepromDownload implements Runnable {
"Connection Failed",
JOptionPane.ERROR_MESSAGE);
} finally {
- if (remote)
- serial_line.stop_remote();
+ if (remote) {
+ try {
+ serial_line.stop_remote();
+ } catch (InterruptedException ie) {
+ }
+ }
serial_line.flush_output();
}
monitor.done();