telepathy-qt: BaseConnection: Channels now will be closed on obj destruction.
David Edmundson
davidedmundson at kemper.freedesktop.org
Sun Aug 17 10:55:03 PDT 2014
Module: telepathy-qt
Branch: master
Commit: 7de03e48f79fb9eec69104395cd31ed111c15938
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=7de03e48f79fb9eec69104395cd31ed111c15938
Author: Alexandr Akulich <akulichalexander at gmail.com>
Date: Sat Aug 9 00:58:43 2014 +0600
BaseConnection: Channels now will be closed on obj destruction.
---
TelepathyQt/base-connection.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/TelepathyQt/base-connection.cpp b/TelepathyQt/base-connection.cpp
index 74d60f5..1607a53 100644
--- a/TelepathyQt/base-connection.cpp
+++ b/TelepathyQt/base-connection.cpp
@@ -203,6 +203,10 @@ BaseConnection::BaseConnection(const QDBusConnection &dbusConnection,
*/
BaseConnection::~BaseConnection()
{
+ foreach (BaseChannelPtr channel, mPriv->channels) {
+ channel->close();
+ }
+
delete mPriv;
}
More information about the telepathy-commits
mailing list