summaryrefslogtreecommitdiff
path: root/src/lib/evas/common
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-26 14:26:56 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-26 17:58:07 +0900
commit3d2551175df2010032b512738f8346bd191d6587 (patch)
treef8cd4545fd7e3a837e68f9f262517432e1cd4405 /src/lib/evas/common
parentf3c9d25c1f9b0172194fa0c451620b633aa75513 (diff)
evas: Fix shutdown of async cmd cache
The incomplete reset (array to NULL but max not reset) triggers errors in evas_thread_queue_append() where eina_inarray_grow() returns NULL. This shows up in: CK_FORK=no elm_suite @fix
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_thread_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/common/evas_thread_render.c b/src/lib/evas/common/evas_thread_render.c
index bbde81a657..84ea7b4234 100644
--- a/src/lib/evas/common/evas_thread_render.c
+++ b/src/lib/evas/common/evas_thread_render.c
@@ -270,6 +270,7 @@ timeout_shutdown:
270 270
271 free(evas_thread_queue_cache); 271 free(evas_thread_queue_cache);
272 evas_thread_queue_cache = NULL; 272 evas_thread_queue_cache = NULL;
273 evas_thread_queue_cache_max = 0;
273 eina_inarray_flush(&evas_thread_queue); 274 eina_inarray_flush(&evas_thread_queue);
274 275
275 eina_threads_shutdown(); 276 eina_threads_shutdown();