mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-20 14:54:17 +02:00
clear the queue when we catch a signal
This commit is contained in:
parent
4c30dac5e1
commit
b34e397717
1 changed files with 3 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue