spinner: crash issue on deletion fix
authorChunEon Park <hermet@hermet.pe.kr>
Fri, 28 Mar 2014 02:52:21 +0000 (11:52 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Fri, 28 Mar 2014 02:52:49 +0000 (11:52 +0900)
commit33d91aa9037c52081f8904c8b9e2df1fb97971a5
tree98a0b7792cb78de6189695cdaf5c27fecdc8fb5f
parent0c32a3fcf13f0c43747c478f012df259e987c156
spinner: crash issue on deletion fix

Summary:
Issue: longpress timer callback if it gets called after widget deletion,  crash happens.
Solution: delete the long press timer in smart del function.
Signed-off by: Kumar Navneet (k.navneet@samsung.com)
Signed-off by: Shilpa Singh (shilpa.singh@samsung.com)

Test Plan: When we tap inc/dec fast and delete the widget immediately, crash might happen.

Reviewers: raster, seoz, Hermet

Reviewed By: Hermet

CC: govi, rajeshps
Differential Revision: https://phab.enlightenment.org/D669

@fix
src/lib/elm_spinner.c