Delete animator in SelectionMagnifierEfl::~SelectionMagnifierEfl
authorArnaud Renevier <a.renevier@samsung.com>
Fri, 24 Oct 2014 02:28:00 +0000 (19:28 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commitef33c7770c205d2820af85b18e92c88d5f055fd3
tree10cc848557706dfc999a40d2dfcbfe0a7b7c6de4
parentd2fdf42f31cc687955a89b330203bef42c078304
Delete animator in SelectionMagnifierEfl::~SelectionMagnifierEfl

Right now, the animator set with ecore_animator_add is not deleted
in SelectionMagnifierEfl destructor. So, it can happen that the
animator callback is called after the magnifier has been deleted. This
results in a crash when trying to access its properties.

This patch fixes the problem by calling ecore_animator_del in
SelectionMagnifierEfl destructor.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8053
Reviewed by: Balazs Kelemen, SeungSeop Park, Yi Shen

Change-Id: I91a9d9c86de54787fd37ae135b19ffd28c2eeaf6
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
tizen_src/impl/selection_magnifier_efl.cc