From e211c6884a32eff379c3ee0112783dbe325191e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enrico=20Tr=C3=B6ger?= Date: Mon, 18 May 2009 02:47:56 +0200 Subject: [PATCH] Remove possibly remaining timers when closing browser windows --- extensions/cookie-manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/cookie-manager.c b/extensions/cookie-manager.c index 85718d0a..e3b9783f 100644 --- a/extensions/cookie-manager.c +++ b/extensions/cookie-manager.c @@ -95,6 +95,8 @@ static void cm_browser_close_cb(GtkObject *browser, CMData *cmdata) g_signal_handlers_disconnect_by_func(cmdata->extension, cm_deactivate_cb, cmdata); g_signal_handlers_disconnect_by_func(cmdata->browser, cm_browser_close_cb, cmdata); g_signal_handlers_disconnect_by_func(cmdata->jar, cm_jar_changed_cb, cmdata); + if (cmdata->timer_id > 0) + g_source_remove(cmdata->timer_id); cm_free_cookie_list(cmdata); -- 2.39.5