[Telepathy-commits] [telepathy-sofiasip/master] Don't destroy the session prematurely when disposing of TpsipMediaChannel

Mikhail Zabaluev mikhail.zabaluev at nokia.com
Tue Feb 24 02:02:50 PST 2009


tpsip_media_channel_close should take proper care of terminating the session,
no need to forcibly destroy it just before calling that.
---
 src/sip-media-channel.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/sip-media-channel.c b/src/sip-media-channel.c
index 34272a3..00da7f7 100644
--- a/src/sip-media-channel.c
+++ b/src/sip-media-channel.c
@@ -537,8 +537,6 @@ tpsip_media_channel_dispose (GObject *object)
 
   priv->dispose_has_run = TRUE;
 
-  priv_destroy_session(self);
-
   if (!priv->closed)
     tpsip_media_channel_close (self);
 
-- 
1.5.6.5



More information about the telepathy-commits mailing list