evas_image : fix unloads cleanup logic
authorHosang Kim <hosang12.kim@samsung.com>
Thu, 16 Jul 2015 11:07:39 +0000 (20:07 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 16 Jul 2015 11:15:12 +0000 (20:15 +0900)
commit51b097c014c77c36f708d3371a42e2045e003ba2
tree4e0d3871529c62337c306f727c3ee09494de1946
parentc73d14036506076a32fe2e842eb4e60d01203258
evas_image : fix unloads cleanup logic

Summary:
Now Evas gl preload feature is disabled.
But if it is turned on, memory crash occurs.
Because evas_gl_common_texture_upload is not excuted immediately.

Test Plan: EVAS_GL_PRELOAD=1 ELM_ENGINE=gl elementary_test -to "photocam"

Reviewers: raster, cedric, woohyun, seoz, Hermet, singh.amitesh, jpeg

Subscribers: jpeg, cedric

Differential Revision: https://phab.enlightenment.org/D2823

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
src/lib/evas/common/evas_image_main.c