altosui: When switching log files, don't terminate log thread
authorKeith Packard <keithp@keithp.com>
Sat, 20 Nov 2010 07:09:15 +0000 (23:09 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 20 Nov 2010 07:09:15 +0000 (23:09 -0800)
commit8c8dc3794c7b5fa5a5b43b1c461d6c8bb3ab425d
tree6b8c71711de2ca288f7a26344de6f96e53538889
parent594e80572821f1848db062d0cff18ca8bf0d90ce
altosui: When switching log files, don't terminate log thread

The log thread automatically switches output files when the incoming
telemetry changes. Don't use 'close' for that as 'close' terminates
the log thread as well as closing the file. Create a new
'close_log_file' function which just closes the file.

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