mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-30 14:22:29 +00:00
Ensure that the old translator is not used after calling espeak_Terminate.
This commit is contained in:
@@ -899,6 +899,7 @@ ESPEAK_NG_API espeak_ng_STATUS espeak_ng_Terminate(void)
|
||||
outbuf = NULL;
|
||||
FreePhData();
|
||||
FreeVoiceList();
|
||||
translator = NULL;
|
||||
|
||||
return ENS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user