[Issue#] N/A
[Problem] Crash is occurred during stop timer in the web-clip
[Cause] Period is 0.00 case timer isn't started
[Solution] Add condition checking code before remove timer
[SCMRequest] N/A
Change-Id: I6f39409f42205e7ba2357bf1e69306d16e5098cc
stop();
}
- m_timer = ecore_timer_add(m_period, m_callback, m_data);
+ m_timer = ecore_timer_add(m_period, m_callback, m_data);
}
void BoxUpdateTimer::stop()
{
- ecore_timer_del(m_timer);
- m_timer = NULL;
+ if (m_timer) {
+ ecore_timer_del(m_timer);
+ m_timer = NULL;
+ }
}
void BoxUpdateTimer::resume()