[Title] Added routine to delete m_moveAnimator and m_showTimer in the destructor of TextSelection.
[Issue#] N/A
[Problem] Crash can occur when deleting webview while m_moveAnimator or m_showTimer is working
[Cause] There is no routine to delete m_moveAnimator and m_showTimer in the destructor of TextSelection.
[Solution] Added routine to delete m_moveAnimator and m_showTimer in the destructor of TextSelection.
Change-Id: I468045249174aab5ade1b8e2345b071f9dca7f59
delete m_magnifier;
+ if (m_moveAnimator) {
+ ecore_animator_del(m_moveAnimator);
+ m_moveAnimator = 0;
+ }
+
+ if (m_showTimer) {
+ ecore_timer_del(m_showTimer);
+ m_showTimer = 0;
+ }
evas_object_event_callback_del(m_viewImpl->view(), EVAS_CALLBACK_MOUSE_UP, onMouseUp);
}