From 0eb0a06a14b392229953d6b56fbec658b97eaca7 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Sat, 19 Jun 2010 00:27:46 +0000 Subject: [PATCH] Stop the totem stats updater timer during shutdown to prevent references to invalid memory. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2953 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/exec/main.c b/exec/main.c index 4aae9831..49a92f69 100644 --- a/exec/main.c +++ b/exec/main.c @@ -166,6 +166,7 @@ static void unlink_all_completed (void) * here */ serialize_unlock (); + api->timer_delete (corosync_stats_timer_handle); poll_stop (corosync_poll_handle); totempg_finalize ();