[Telepathy-commits] [telepathy-mission-control/master] Don't release the TpChannel when aborting

Alberto Mardegan alberto.mardegan at nokia.com
Thu Jan 29 04:27:24 PST 2009


---
 src/mcd-channel.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/mcd-channel.c b/src/mcd-channel.c
index 5daf10d..d8d0c6f 100644
--- a/src/mcd-channel.c
+++ b/src/mcd-channel.c
@@ -377,7 +377,9 @@ mcd_channel_abort (McdMission *mission)
                                      "Channel aborted");
         _mcd_channel_set_error (channel, error);
     }
-    _mcd_channel_release_tp_channel (channel, TRUE);
+    /* Don't release the TpChannel, because we might still be asked to retrieve
+     * its properties or object path; instead, just close the channel */
+    mcd_channel_close (channel);
 
     /* chain up with the parent */
     MCD_MISSION_CLASS (mcd_channel_parent_class)->abort (mission);
-- 
1.5.6.5




More information about the telepathy-commits mailing list