- Issue:
There is a case that a second handle requests to cancel the pkgmgr thread, although the thread is pending to be canceled.
- Solution:
Before requesting to cancel the thread, we check whether the pkgmgr thread is pending to be canceled or not.
Change-Id: I9b94a6ad35fd11e34ee7488aeeceb0ad2eaed751
Signed-off-by: VBS <sooyeon.kim@samsung.com>
g_unset_app_context_cb_idler = NULL;
}
- if (NULL != g_pkgmgr_thread) {
+ if (NULL != g_pkgmgr_thread && EINA_FALSE == ecore_thread_check(g_pkgmgr_thread)) {
SLOG(LOG_INFO, TAG_TTSC, "[INFO] Cancel pkgmgr thread");
ecore_thread_cancel(g_pkgmgr_thread);