Crash issue fix by stopping timer invocation during cleanup 31/221031/1
authorsooyeon.kim <sooyeon.kim@samsung.com>
Mon, 1 Apr 2019 06:50:39 +0000 (15:50 +0900)
committerWonnam Jang <wn.jang@samsung.com>
Thu, 26 Dec 2019 10:28:56 +0000 (10:28 +0000)
Change-Id: I6ddf1ae619a935390473c71f07e480d82b48f54b
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
(cherry picked from commit b50e1cddabcf7aeade7eb4bcd92e72594034eeff)

server/ttsd_server.c

index 6a4e6e2..d74a589 100644 (file)
@@ -683,6 +683,8 @@ Eina_Bool ttsd_cleanup_client(void *data)
                ttsd_data_foreach_clients(__get_client_for_clean_up, NULL);
        } else {
                ecore_timer_add(0, __quit_ecore_loop, NULL);
+               SLOG(LOG_ERROR, tts_tag(), "[Server] Deleted timer");
+               return EINA_FALSE;
        }
 
        SLOG(LOG_DEBUG, tts_tag(), "@@@");