projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fd9ae83
)
telegps: Disconnect telemetry device when closing monitor window
author
Keith Packard
<keithp@keithp.com>
Fri, 13 Jun 2014 07:28:09 +0000
(
00:28
-0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 13 Jun 2014 07:28:09 +0000
(
00:28
-0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
telegps/TeleGPS.java
patch
|
blob
|
history
diff --git
a/telegps/TeleGPS.java
b/telegps/TeleGPS.java
index 9aaa80c3fc12e4fcf9e16cf462773e864fc9c8b9..1898a668057b363751bb448b74433598407134aa 100644
(file)
--- a/
telegps/TeleGPS.java
+++ b/
telegps/TeleGPS.java
@@
-370,6
+370,7
@@
public class TeleGPS
}
private void close() {
}
private void close() {
+ disconnect();
AltosUIPreferences.unregister_font_listener(this);
AltosPreferences.unregister_units_listener(this);
setVisible(false);
AltosUIPreferences.unregister_font_listener(this);
AltosPreferences.unregister_units_listener(this);
setVisible(false);