gcancellable: Free up GPrivate in right cleanup context

https://bugzilla.gnome.org/show_bug.cgi?id=711799
This commit is contained in:
Stef Walter
2013-11-08 14:24:04 +01:00
parent 5da529ae0f
commit 716068850d

View File

@@ -57,7 +57,7 @@ static guint signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE_WITH_PRIVATE (GCancellable, g_cancellable, G_TYPE_OBJECT) G_DEFINE_TYPE_WITH_PRIVATE (GCancellable, g_cancellable, G_TYPE_OBJECT)
static GPrivate current_cancellable; static GPrivate current_cancellable = G_PRIVATE_INIT (NULL);
static GMutex cancellable_mutex; static GMutex cancellable_mutex;
static GCond cancellable_cond; static GCond cancellable_cond;