g_feedback_thread = NULL;
}
+static void __cancel_tts_feedback_thread(void* data, Ecore_Thread* thread)
+{
+ SLOG(LOG_INFO, TAG_VCM, "[SUCCESS] Cancel thread");
+ g_feedback_thread = NULL;
+}
+
int vc_mgr_start_feedback(void)
{
SLOG(LOG_INFO, TAG_VCM, "@@@ [Manager] start feedback");
bool is_exist = ecore_thread_check(g_feedback_thread);
if (NULL == g_feedback_thread || TRUE == is_exist) {
SLOG(LOG_INFO, TAG_VCM, "[INFO] ecore thread run : __tts_feedback_thread");
- g_feedback_thread = ecore_thread_run(__tts_feedback_thread, __end_tts_feedback_thread, NULL, NULL);
+ g_feedback_thread = ecore_thread_run(__tts_feedback_thread, __end_tts_feedback_thread, __cancel_tts_feedback_thread, NULL);
}
#else
/* start playing TTS feedback */