altosui: Ensure serial device is closed after eeprom download finishes
authorKeith Packard <keithp@keithp.com>
Sun, 16 Jan 2011 22:30:38 +0000 (14:30 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 16 Jan 2011 22:30:38 +0000 (14:30 -0800)
commit1bfdce6fc3367fdf03e0dc7ddd94da18723b8ba3
treec8a7289ef21f43bc1ef2581eaf6e9be9be652c7c
parent987039b8f0b1d889aca9109d4c6a83f034ff64a7
altosui: Ensure serial device is closed after eeprom download finishes

As this code is all event-driven, track which events will trigger
further work and block closing the device in those specific cases,
ensuring that all other code paths end up closing the device.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosEepromManage.java