Reset flag and thread pointer 98/268398/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Wed, 22 Dec 2021 08:06:36 +0000 (17:06 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Wed, 22 Dec 2021 08:06:36 +0000 (17:06 +0900)
Change-Id: Id26e7dedbb3baf6657e50c24c259c3d4a3b34a56
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/tts_core.c

index 6ce0328..6fa3c0e 100644 (file)
@@ -379,6 +379,8 @@ static void __end_reprepare_thread(void* data, Ecore_Thread* thread)
        GList* clients = tts_client_get_client_list();
        if (NULL == clients) {
                SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Fail to get client list");
+               g_is_engine_name_changed = false;
+               g_reprepare_thread = NULL;
                return;
        }