projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altoslib: Mark listener as 'not running' on EOF.
[fw/altos]
/
altosuilib
/
AltosDisplayThread.java
diff --git
a/altosuilib/AltosDisplayThread.java
b/altosuilib/AltosDisplayThread.java
index 6b6e03e7372baa86c778f52e7946ee54ef914dca..627088bcddfc7c6ee6aa598362628979a9765877 100644
(file)
--- a/
altosuilib/AltosDisplayThread.java
+++ b/
altosuilib/AltosDisplayThread.java
@@
-224,8
+224,10
@@
public class AltosDisplayThread extends Thread {
for (;;) {
try {
state = reader.read();
- if (state == null)
+ if (state == null) {
+ listener_state.running = false;
break;
+ }
reader.update(state);
show_safely();
told = tell();