lets not delete previous timer and just add one if there is none -

less frees and allocs



SVN revision: 66186
This commit is contained in:
Carsten Haitzler 2011-12-14 10:22:49 +00:00
parent 54d52f9c43
commit 39d04ed728
1 changed files with 2 additions and 2 deletions

View File

@ -364,8 +364,8 @@ _edje_message_propornot_send(Edje *ed, Edje_Queue queue, Edje_Message_Type type,
}
if (_injob > 0)
{
if (_job_loss_timer) ecore_timer_del(_job_loss_timer);
_job_loss_timer = ecore_timer_add(0.001, _edje_job_loss_timer, NULL);
if (!_job_loss_timer)
_job_loss_timer = ecore_timer_add(0.001, _edje_job_loss_timer, NULL);
}
else
{