Merge "Add log to leave string length" into tizen
[platform/core/uifw/tts.git] / client / tts.c
index 47b48ed..1637606 100644 (file)
@@ -2368,6 +2368,7 @@ static Eina_Bool __tts_notify_state_changed(void *data)
        /* check handle */
        if (NULL == client) {
                SLOG(LOG_WARN, TAG_TTSC, "Fail to notify state changed : A handle is not valid");
+               g_check_state_timer = NULL;
                return EINA_FALSE;
        }
 
@@ -2380,6 +2381,8 @@ static Eina_Bool __tts_notify_state_changed(void *data)
                SLOG(LOG_WARN, TAG_TTSC, "[WARNING] State changed callback is null");
        }
 
+       g_check_state_timer = NULL;
+
        return EINA_FALSE;
 }