[Telepathy-commits] [telepathy-salut/master] Release the connection when the transfer is complete.
Jonny Lamb
jonny.lamb at collabora.co.uk
Fri Nov 21 03:46:14 PST 2008
20080730192601-8ed0e-070f38ce9de748391d7fe1723d87f3572d5bfc72.gz
---
src/salut-file-channel.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/salut-file-channel.c b/src/salut-file-channel.c
index 1038e1b..8dddf34 100644
--- a/src/salut-file-channel.c
+++ b/src/salut-file-channel.c
@@ -762,6 +762,9 @@ ft_finished_cb (GibberFileTransfer *ft,
salut_file_channel_set_state (SALUT_SVC_CHANNEL_TYPE_FILE (self),
SALUT_FILE_TRANSFER_STATE_COMPLETED,
SALUT_FILE_TRANSFER_STATE_CHANGE_REASON_NONE);
+
+ salut_xmpp_connection_manager_release_connection (self->priv->xmpp_connection_manager,
+ self->priv->xmpp_connection);
}
static void
--
1.5.6.5
More information about the Telepathy-commits
mailing list