forked from enlightenment/enlightenment
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
This commit is contained in:
parent
96adeb6eee
commit
34699a3ba3
|
@ -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…
Reference in New Issue