Clear my_stop_is_acknowledged before waiting on it.

This commit is contained in:
Christopher Brannon
2016-10-10 18:16:34 -07:00
parent 2e9ec8e06a
commit ad436e1172
+1
View File
@@ -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) {