From 34699a3ba3478fbb017321e9de0ffc820958c5e5 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Sun, 7 Jun 2009 02:02:54 +0000 Subject: [PATCH] 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 --- src/modules/everything/evry.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/everything/evry.c b/src/modules/everything/evry.c index eab41b7f7..c5b72ba25 100644 --- a/src/modules/everything/evry.c +++ b/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);