active-connection: log lifetime of NMActiveConenction
This commit is contained in:
@@ -734,8 +734,12 @@ nm_active_connection_init (NMActiveConnection *self)
|
|||||||
static void
|
static void
|
||||||
constructed (GObject *object)
|
constructed (GObject *object)
|
||||||
{
|
{
|
||||||
|
NMActiveConnection *self = (NMActiveConnection *) object;
|
||||||
|
|
||||||
G_OBJECT_CLASS (nm_active_connection_parent_class)->constructed (object);
|
G_OBJECT_CLASS (nm_active_connection_parent_class)->constructed (object);
|
||||||
g_assert (NM_ACTIVE_CONNECTION_GET_PRIVATE (object)->subject);
|
g_assert (NM_ACTIVE_CONNECTION_GET_PRIVATE (object)->subject);
|
||||||
|
|
||||||
|
_LOGD ("constructed (%s)", G_OBJECT_TYPE_NAME (self));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -887,6 +891,8 @@ dispose (GObject *object)
|
|||||||
NMActiveConnection *self = NM_ACTIVE_CONNECTION (object);
|
NMActiveConnection *self = NM_ACTIVE_CONNECTION (object);
|
||||||
NMActiveConnectionPrivate *priv = NM_ACTIVE_CONNECTION_GET_PRIVATE (self);
|
NMActiveConnectionPrivate *priv = NM_ACTIVE_CONNECTION_GET_PRIVATE (self);
|
||||||
|
|
||||||
|
_LOGD ("disposing");
|
||||||
|
|
||||||
if (priv->chain) {
|
if (priv->chain) {
|
||||||
nm_auth_chain_unref (priv->chain);
|
nm_auth_chain_unref (priv->chain);
|
||||||
priv->chain = NULL;
|
priv->chain = NULL;
|
||||||
|
Reference in New Issue
Block a user