seoz pushed a commit to branch master.
commit 49d1ea36b2378215a26f66822c8d589e28aadd99
Author: Tae-Hwan Kim <[email protected]>
Date: Fri May 3 02:10:55 2013 +0900
genlist: fixed dangling _calc_job bug.
Before calling _calc_job directly, the job should be removed.
Because dangling job can be remained.
---
src/lib/elm_genlist.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 64ab5c7..5aa3664 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -2109,6 +2109,8 @@ _elm_genlist_pan_smart_calculate(Eo *obj EINA_UNUSED,
void *_pd, va_list *list E
if (psd->wsd->pan_changed)
{
+ if (psd->wsd->calc_job) ecore_job_del(psd->wsd->calc_job);
+ psd->wsd->calc_job = NULL;
_calc_job(psd->wsd->obj);
psd->wsd->pan_changed = EINA_FALSE;
}
--
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1