diff options
Diffstat (limited to 'backends/text-to-speech/linux/linux-text-to-speech.cpp')
-rw-r--r-- | backends/text-to-speech/linux/linux-text-to-speech.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/text-to-speech/linux/linux-text-to-speech.cpp b/backends/text-to-speech/linux/linux-text-to-speech.cpp index 5943b69f49..b4a0d8c393 100644 --- a/backends/text-to-speech/linux/linux-text-to-speech.cpp +++ b/backends/text-to-speech/linux/linux-text-to-speech.cpp @@ -127,6 +127,9 @@ void SpeechDispatcherManager::init() { SpeechDispatcherManager::~SpeechDispatcherManager() { stop(); + + clearState(); + if (_connection != 0) spd_close(_connection); if (_threadCreated) |