tizen 2.4 release
[apps/home/settings.git] / setting-storage / src / setting-storage-async-worker.c
index a1ea88a..2006e3a 100644 (file)
@@ -87,7 +87,15 @@ static void *_async_worker_thread(void *data)
        storageUG_STOP_POINT;
 
        worker->worker_idler = ecore_idler_add(_async_worker_idler, worker);
+       if (worker->worker_idler == NULL) {
+               SETTING_TRACE_ERROR("worker->worker_idler == NULL");
+               worker->alive = FALSE;
+               /*----------------------------------- */
+               /* work around */
+               /*----------------------------------- */
+               _async_worker_idler(worker);
 
+       }
        pthread_exit(NULL);
 }