[telepathy-mission-control/master] McdConnection: explicitly close channels resulting from cancelled requests
Simon McVittie
simon.mcvittie at collabora.co.uk
Fri Jun 26 08:56:39 PDT 2009
When mcd_mission_abort doesn't close the channels, we'll have to be
explicit about closing them.
---
src/mcd-connection.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mcd-connection.c b/src/mcd-connection.c
index 398dc93..d2af0ab 100644
--- a/src/mcd-connection.c
+++ b/src/mcd-connection.c
@@ -1918,6 +1918,7 @@ common_request_channel_cb (TpConnection *proxy, gboolean yours,
if (mcd_channel_get_status (channel) == MCD_CHANNEL_STATUS_FAILED)
{
DEBUG ("Channel %p was cancelled, aborting", channel);
+ _mcd_channel_close (channel);
mcd_mission_abort (MCD_MISSION (channel));
}
--
1.5.6.5
More information about the telepathy-commits
mailing list