elc_player: set internal variable to NULL after deleting the timer.

This fixes elc_player crash issue.
This commit is contained in:
Daniel Juyung Seo 2013-04-09 16:58:29 +09:00
parent dce0d0e9dd
commit f1da69d77a
3 changed files with 10 additions and 1 deletions

View File

@ -1221,3 +1221,7 @@
* Fix layout_example_02.
* Fix hoversel_example_01.
2013-04-09 Daniel Juyung Seo (SeoZ)
* Fix elc_player crash issue.

View File

@ -200,6 +200,7 @@ Fixes:
* Fix ctxpopup geometry when parent is an elm_win.
* Quit the scroll animator if the scroller don't have a bounce and reach a edge.
* Fix the scroller show by a page if the page size is set and the region_bring_in or region_show is called.
* Fix elc_player crash issue.
Removals:

View File

@ -171,7 +171,11 @@ _update_slider(void *data,
elm_slider_min_max_set(sd->slider, 0, length);
elm_slider_value_set(sd->slider, pos);
sd->last_update_time = ecore_loop_time_get();
if (sd->delay_update) ecore_timer_del(sd->delay_update);
if (sd->delay_update)
{
ecore_timer_del(sd->delay_update);
sd->delay_update = NULL;
}
}
static Eina_Bool