[Telepathy-commits] [telepathy-qt4/master] Connection: Delete watchers.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Fri Jan 23 11:20:21 PST 2009
---
TelepathyQt4/Client/connection.cpp | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/TelepathyQt4/Client/connection.cpp b/TelepathyQt4/Client/connection.cpp
index 6d83c8d..55b2b5d 100644
--- a/TelepathyQt4/Client/connection.cpp
+++ b/TelepathyQt4/Client/connection.cpp
@@ -835,6 +835,8 @@ void Connection::gotStatus(QDBusPendingCallWatcher *watcher)
mPriv->introspectQueue.enqueue(&Private::introspectMain);
mPriv->continueIntrospection();
+
+ watcher->deleteLater();
}
void Connection::gotInterfaces(QDBusPendingCallWatcher *watcher)
@@ -870,6 +872,8 @@ void Connection::gotInterfaces(QDBusPendingCallWatcher *watcher)
}
mPriv->continueIntrospection();
+
+ watcher->deleteLater();
}
void Connection::gotAliasFlags(QDBusPendingCallWatcher *watcher)
@@ -886,6 +890,8 @@ void Connection::gotAliasFlags(QDBusPendingCallWatcher *watcher)
}
mPriv->continueIntrospection();
+
+ watcher->deleteLater();
}
void Connection::gotStatuses(QDBusPendingCallWatcher *watcher)
@@ -902,6 +908,8 @@ void Connection::gotStatuses(QDBusPendingCallWatcher *watcher)
}
mPriv->continueIntrospection();
+
+ watcher->deleteLater();
}
void Connection::gotSimpleStatuses(QDBusPendingCallWatcher *watcher)
@@ -918,6 +926,8 @@ void Connection::gotSimpleStatuses(QDBusPendingCallWatcher *watcher)
}
mPriv->continueIntrospection();
+
+ watcher->deleteLater();
}
/**
--
1.5.6.5
More information about the Telepathy-commits
mailing list