summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-10-02 13:55:57 -0700
committerKeith Packard <keithp@keithp.com>2017-10-02 16:49:56 -0700
commit322c1abead39cb398380dff384cd274c19dd81dd (patch)
tree4cd9716066a52e6a8ec461c696650ccbbe428a3f
parentcfc09e8f1f263595972cbb6af23f22e2d749c744 (diff)
altosuilib: Don't drain voice when terminating display
If the voice thread is wedged (as with PulseAudio and un-patched freetts 1.2.2), we'll get stuck here and the UI will freeze up. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--altosuilib/AltosDisplayThread.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/altosuilib/AltosDisplayThread.java b/altosuilib/AltosDisplayThread.java
index 3fcc02da..5e691ac4 100644
--- a/altosuilib/AltosDisplayThread.java
+++ b/altosuilib/AltosDisplayThread.java
@@ -159,9 +159,6 @@ public class AltosDisplayThread extends Thread {
report(false);
}
} catch (InterruptedException ie) {
- try {
- voice.drain();
- } catch (InterruptedException iie) { }
}
}