From b34e397717bae998bd2280a0774a04cd37ea1791 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sat, 16 Aug 2008 20:09:03 -0500 Subject: [PATCH] clear the queue when we catch a signal --- espeakup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/espeakup.c b/espeakup.c index 70f337a..83eca99 100644 --- a/espeakup.c +++ b/espeakup.c @@ -78,6 +78,9 @@ void espeakup_sighandler(int sig) if (debug) printf("Caught signal %i\n", sig); + /* clear the queue */ + queue_clear(); + /* shutdown espeak and close the softsynth */ espeak_Terminate(); close_softsynth();