From 322c1abead39cb398380dff384cd274c19dd81dd Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 2 Oct 2017 13:55:57 -0700 Subject: [PATCH] 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 --- altosuilib/AltosDisplayThread.java | 3 --- 1 file changed, 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) { } } } -- 2.30.2