fix segv: remove timer when popup is hidden/destroyed.

for quick commands (i call couple of short-named shell scripts) it was
easy to trigger the situation where timer expired after popup was gone
and E got a segv by accessing popup == NULL.



SVN revision: 40932
devs/princeamd/enlightenment-0.17-elive
Gustavo Sverzut Barbieri 14 years ago
parent 96adeb6eee
commit 34699a3ba3
  1. 6
      src/modules/everything/evry.c

@ -191,6 +191,12 @@ evry_hide(void)
if (!popup) return;
if (update_timer)
{
ecore_timer_del(update_timer);
update_timer = NULL;
}
evas_event_freeze(popup->evas);
_evry_matches_clear();
e_popup_hide(popup);

Loading…
Cancel
Save