mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-06 00:24:50 +01:00
gcancellable: Free up GPrivate in right cleanup context
https://bugzilla.gnome.org/show_bug.cgi?id=711799
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user