From b73631c992bc65a2084692537c0dbfae28bc3fe4 Mon Sep 17 00:00:00 2001 From: "sooyeon.kim" Date: Tue, 26 Jun 2018 20:04:25 +0900 Subject: [PATCH] Fix thread unsafety issue Change-Id: I21199c2704ea455515280271aa5cfe85a430550b Signed-off-by: sooyeon.kim --- client/stt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/stt.c b/client/stt.c index 8a55d34..a08dacc 100644 --- a/client/stt.c +++ b/client/stt.c @@ -1042,7 +1042,9 @@ int stt_prepare(stt_h stt) return STT_ERROR_INVALID_STATE; } + ecore_thread_main_loop_begin(); g_connect_timer = ecore_timer_add(0.02, __stt_connect_daemon, (void*)client); + ecore_thread_main_loop_end(); SLOG(LOG_DEBUG, TAG_STTC, "====="); SLOG(LOG_DEBUG, TAG_STTC, " "); -- 2.7.4