diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-13 00:28:09 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-13 00:28:09 -0700 |
commit | 8cb41ce9a64029b611b3595c86a4a8e74b952ff4 (patch) | |
tree | f0ff8194b93063166f8a82d51556549a6e33b35b /telegps/TeleGPS.java | |
parent | fd9ae83492648c5d39f60bdcff15481efb365701 (diff) |
telegps: Disconnect telemetry device when closing monitor window
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'telegps/TeleGPS.java')
-rw-r--r-- | telegps/TeleGPS.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/telegps/TeleGPS.java b/telegps/TeleGPS.java index 9aaa80c3..1898a668 100644 --- a/telegps/TeleGPS.java +++ b/telegps/TeleGPS.java @@ -370,6 +370,7 @@ public class TeleGPS } private void close() { + disconnect(); AltosUIPreferences.unregister_font_listener(this); AltosPreferences.unregister_units_listener(this); setVisible(false); |