diff options
author | Louis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk> | 2010-11-09 15:46:11 -0500 |
---|---|---|
committer | Louis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk> | 2010-12-03 15:50:39 -0500 |
commit | 2dddc3e7b22b743411412ac8e2aaa85c76e771be (patch) | |
tree | d76b3e2fd2c458929c8fe157bb29ea58110b9e91 | |
parent | a7a32a3d01c73f7952de0fceb9ea923aec6fad3b (diff) |
ft: close channel after cleaning up
-rw-r--r-- | butterfly/channel/file_transfer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/butterfly/channel/file_transfer.py b/butterfly/channel/file_transfer.py index 6891a29..ddca166 100644 --- a/butterfly/channel/file_transfer.py +++ b/butterfly/channel/file_transfer.py @@ -178,8 +178,8 @@ class ButterflyFileTransferChannel(telepathy.server.ChannelTypeFileTransfer): self.set_state(telepathy.FILE_TRANSFER_STATE_CANCELLED, telepathy.FILE_TRANSFER_STATE_CHANGE_REASON_LOCAL_STOPPED) - telepathy.server.ChannelTypeFileTransfer.Close(self) self.cleanup() + telepathy.server.ChannelTypeFileTransfer.Close(self) def cancel(self): if self._receiving and self.state == telepathy.FILE_TRANSFER_STATE_PENDING: |