[glib/wip/gcleanup: 20/21] gcleanup: Four passes are the cleanup maximum
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gcleanup: 20/21] gcleanup: Four passes are the cleanup maximum
- Date: Thu, 7 Nov 2013 07:22:19 +0000 (UTC)
commit 821fa7bf2170632220156b9a47fc7fbcbf724587
Author: Stef Walter <stefw gnome org>
Date: Thu Oct 31 23:19:21 2013 +0100
gcleanup: Four passes are the cleanup maximum
This is because GPrivate needs to be freed after the common
folk, and yet still has a notify callback, which itself
could need up to three passes to complete.
This makes me itch to make this a parameter. Lets see.
https://bugzilla.gnome.org/show_bug.cgi?id=627423
glib/gcleanup.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gcleanup.c b/glib/gcleanup.c
index 4ba31e0..55c2df5 100644
--- a/glib/gcleanup.c
+++ b/glib/gcleanup.c
@@ -36,7 +36,7 @@
*/
/*
- * The gcleanup code has three passes.
+ * The gcleanup code has four passes.
*
* This is so things that need to absolutely be cleaned up last, add
* themselves to the next pass from within their cleanup handler. These
@@ -44,7 +44,7 @@
*/
#ifndef GLIB_CLEANUP_PASSES
-#define GLIB_CLEANUP_PASSES 3
+#define GLIB_CLEANUP_PASSES 4
#endif
#include <stdio.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]