another termination fix

espeak_thread needs to signal softsynth_thread once more as it is going
town so that softsynth_thread will see that should_run is now 0 and
terminate.
This commit is contained in:
William Hubbs 2009-06-25 22:00:25 -05:00
commit 24bcdf5666

View file

@ -277,6 +277,7 @@ void *espeak_thread(void *arg)
pthread_cond_signal(&stop_acknowledged);
}
}
pthread_cond_signal(&stop_acknowledged);
pthread_mutex_unlock(&queue_guard);
return NULL;
}