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

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

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

+ 1 - 0
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 ();