[Telepathy-commits] [telepathy-mission-control/master] Close channel on abort.

Alberto Mardegan alberto.mardegan at nokia.com
Mon Jan 12 01:54:53 PST 2009


This is especially important on channels in dispatching state: if filters block
the channel, the channel must be immediately closed.
---
 src/mcd-channel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mcd-channel.c b/src/mcd-channel.c
index 2c8be34..25960ac 100644
--- a/src/mcd-channel.c
+++ b/src/mcd-channel.c
@@ -615,6 +615,7 @@ mcd_channel_abort (McdMission *mission)
                                      "Channel aborted");
         _mcd_channel_set_error (channel, error);
     }
+    _mcd_channel_release_tp_channel (channel, TRUE);
 
     /* 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