clear the queue when we catch a signal

This commit is contained in:
William Hubbs 2008-08-16 20:09:03 -05:00
commit b34e397717

View file

@ -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();