summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2011-06-01 16:00:41 (GMT)
committerOlivier CrĂȘte <olivier.crete@collabora.com>2011-06-09 22:44:11 (GMT)
commitbccd0101e057160105b7b7807466159da27714b8 (patch)
tree8774c73814b12fbe2b754844a2b3eaba25a22504
parent09b9df6b46424815b083d7c62360106e1b5cb304 (diff)
downloadtelepathy-farsight-bccd0101e057160105b7b7807466159da27714b8.tar.gz
telepathy-farsight-bccd0101e057160105b7b7807466159da27714b8.tar.xz
Run dispose from the main thread always
-rw-r--r--telepathy-farsight/stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/telepathy-farsight/stream.c b/telepathy-farsight/stream.c
index 6730be8..39e2f0d 100644
--- a/telepathy-farsight/stream.c
+++ b/telepathy-farsight/stream.c
@@ -450,6 +450,7 @@ tf_stream_dispose (GObject *object)
tf_stream_free_resource (stream,
TP_MEDIA_STREAM_DIRECTION_RECEIVE);
+ g_object_run_dispose (G_OBJECT (priv->fs_stream));
g_object_unref (priv->fs_stream);
tf_stream_free_resource (stream,
@@ -460,6 +461,7 @@ tf_stream_dispose (GObject *object)
if (priv->fs_session)
{
+ g_object_run_dispose (G_OBJECT (priv->fs_session));
g_object_unref (priv->fs_session);
priv->fs_session = NULL;
}