[Telepathy-commits] [telepathy-qt4/master] TextChannel: delete watchers.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Tue Mar 10 22:42:58 PDT 2009


---
 TelepathyQt4/Client/text-channel.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/TelepathyQt4/Client/text-channel.cpp b/TelepathyQt4/Client/text-channel.cpp
index 37162cb..7802667 100644
--- a/TelepathyQt4/Client/text-channel.cpp
+++ b/TelepathyQt4/Client/text-channel.cpp
@@ -968,6 +968,8 @@ void TextChannel::gotProperties(QDBusPendingCallWatcher *watcher)
 
     mPriv->updateInitialMessages();
     mPriv->updateCapabilities();
+
+    watcher->deleteLater();
 }
 
 void TextChannel::gotPendingMessages(QDBusPendingCallWatcher *watcher)
@@ -993,6 +995,8 @@ void TextChannel::gotPendingMessages(QDBusPendingCallWatcher *watcher)
                 message.sender, message.messageType, message.flags,
                 message.text);
     }
+
+    watcher->deleteLater();
 }
 
 } // Telepathy::Client
-- 
1.5.6.5




More information about the telepathy-commits mailing list