summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/voice_thread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/voice_thread.c b/apps/voice_thread.c
index 4027fd067b..7bf52d4d0d 100644
--- a/apps/voice_thread.c
+++ b/apps/voice_thread.c
@@ -173,6 +173,10 @@ void voice_stop(void)
173 /* Unqueue all future clips */ 173 /* Unqueue all future clips */
174 talk_force_shutup(); 174 talk_force_shutup();
175 175
176 /* Wait for any final queue_post to be processed */
177 LOGFQUEUE("mp3 >| voice Q_VOICE_NULL");
178 queue_send(&voice_queue, Q_VOICE_NULL, 0);
179
176 mutex_unlock(&voice_mutex); 180 mutex_unlock(&voice_mutex);
177} /* voice_stop */ 181} /* voice_stop */
178 182