netclientclock: Disconnect the "synced" signal handler from the internal clock
authorSebastian Dröge <sebastian@centricular.com>
Tue, 5 Jan 2016 12:59:34 +0000 (14:59 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 5 Jan 2016 13:00:14 +0000 (15:00 +0200)
Not from the external one.

libs/gst/net/gstnetclientclock.c

index 2d2c7f2..0625f57 100644 (file)
@@ -1129,7 +1129,8 @@ gst_net_client_clock_finalize (GObject * object)
   GList *l;
 
   if (self->priv->synced_id)
-    g_signal_handler_disconnect (self, self->priv->synced_id);
+    g_signal_handler_disconnect (self->priv->internal_clock,
+        self->priv->synced_id);
   self->priv->synced_id = 0;
 
   G_LOCK (clocks_lock);