Ecore animator: delete animater's internal timer in _end_tick() in all cases.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 26 Nov 2013 06:58:24 +0000 (15:58 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 26 Nov 2013 08:09:37 +0000 (17:09 +0900)
commite78c4e68f54e4b154ceb4601d67a2782a3c8e4aa
tree52e1efa67ec247836f7e0516cb9bfdd50835027b
parent55d8156414012e718a7e7adb3f9cd33e19744dc1
Ecore animator: delete animater's internal timer in _end_tick() in all cases.

When the ecore_animator_source_set() is called with different sources repeatedly, sometimes internal timer is not deleted and this leads animator misbehavior.
Especially when the source is changed from ECORE_ANIMATOR_SOURCE_TIMER to ECORE_ANIMATOR_SOURCE_CUSTOM before the SOURCE_TIMER's internal timer is deleted, this problem occurs.
In this case, even though _end_tick() is called in ecore_animator_source_set(), the SOURCE_TIMER's timer is not deleted because the source is already changed to CUSTOM.
So we should delete the internal timer in _end_tick() in all cases.
ChangeLog
NEWS
src/lib/ecore/ecore_anim.c