From ad436e1172fc221832512e94a4e4cf4cefaf0074 Mon Sep 17 00:00:00 2001 From: Christopher Brannon Date: Mon, 10 Oct 2016 18:16:34 -0700 Subject: [PATCH] Clear my_stop_is_acknowledged before waiting on it. --- src/libespeak-ng/fifo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libespeak-ng/fifo.c b/src/libespeak-ng/fifo.c index 7bdff573..822c8276 100644 --- a/src/libespeak-ng/fifo.c +++ b/src/libespeak-ng/fifo.c @@ -171,6 +171,7 @@ espeak_ng_STATUS fifo_stop() if (my_command_is_running) { a_command_is_running = 1; my_stop_is_required = 1; + my_stop_is_acknowledged = 0; } if (a_command_is_running) {