summaryrefslogtreecommitdiff
path: root/src/lib/evas/common
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-11-23 14:56:44 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-11-23 23:48:53 +0900
commit69a684cf0451fb24bb471e6ba6e32eca2727c49a (patch)
tree49956711dad9583fec91f483a51c8ea81de831c0 /src/lib/evas/common
parentdc18e7190355c933dfb1c2e25d405489566114ef (diff)
evas: Fix a few issues after init/shutdown/init
elm_suite would crash when CK_FORK=no is set, because evas was badly initializing or shutting down. Note that elm_suite still crashes with CK_FORK=no but valgrind doesn't complain.
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r--src/lib/evas/common/evas_thread_render.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/common/evas_thread_render.c b/src/lib/evas/common/evas_thread_render.c
index d2d8581240..03812b5128 100644
--- a/src/lib/evas/common/evas_thread_render.c
+++ b/src/lib/evas/common/evas_thread_render.c
@@ -226,8 +226,9 @@ timeout_shutdown:
226 226
227 evas_thread_worker = 0; 227 evas_thread_worker = 0;
228 228
229 eina_inarray_flush(&evas_thread_queue);
230 free(evas_thread_queue_cache); 229 free(evas_thread_queue_cache);
230 evas_thread_queue_cache = NULL;
231 eina_inarray_flush(&evas_thread_queue);
231 232
232 eina_threads_shutdown(); 233 eina_threads_shutdown();
233 234