altoslib: Make sure .eeprom download file is flushed on exception
authorKeith Packard <keithp@keithp.com>
Mon, 21 Sep 2015 05:25:49 +0000 (06:25 +0100)
committerKeith Packard <keithp@keithp.com>
Tue, 13 Oct 2015 20:54:28 +0000 (13:54 -0700)
commit0f8272852b12cf7a349cd9fd07f17c55cdb335a1
tree858256680cd0c0ec8c985eb501dba7d89ad99cc9
parenta81d028dc62a0a624051fc3c9debb9687fda931e
altoslib: Make sure .eeprom download file is flushed on exception

Flush and close the eeprom file even if an exception occurs to make
sure that contents of the file aren't lost.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosEepromDownload.java