Просмотр исходного кода

Merge trunk revision 2953:
r2953 | sdake | 2010-06-18 17:27:46 -0700 (Fri, 18 Jun 2010) | 3 lines

Stop the totem stats updater timer during shutdown to prevent references to
invalid memory.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2954 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 15 лет назад
Родитель
Сommit
d6864e7bdd
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      exec/main.c

+ 1 - 0
exec/main.c

@@ -163,6 +163,7 @@ static void unlink_all_completed (void)
 	 * here
 	 */
 	serialize_unlock ();
+	api->timer_delete (corosync_stats_timer_handle);
 	poll_stop (corosync_poll_handle);
 	totempg_finalize ();