From: Yeongjong Lee Date: Tue, 16 Oct 2018 11:18:04 +0000 (+0900) Subject: [TFIVE-14741] ensure thread safe call of efl function X-Git-Tag: submit/tizen/20181016.224209^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=904153e1d410fd245f5996a1748b43b3ad81f512;p=profile%2Fmobile%2Fapps%2Fnative%2Fmusic-player.git [TFIVE-14741] ensure thread safe call of efl function EFL function doesn't allow to access object in sub thread. This patch prevent that issue Change-Id: I22456c0b1ae56a117dd6c29bfc7cd24bbf72d2fb --- diff --git a/src/core/mp-player-mgr.c b/src/core/mp-player-mgr.c index 6f50874..ca1e55e 100644 --- a/src/core/mp-player-mgr.c +++ b/src/core/mp-player-mgr.c @@ -1049,7 +1049,7 @@ Eina_Bool mp_player_mgr_seek_done(void *data) static void _mp_player_mgr_seek_done_cb(void *data) { if (is_seeking) { - mp_player_mgr_seek_done(data); + ecore_main_loop_thread_safe_call_async(mp_player_mgr_seek_done, data); } }