[Telepathy-commits] [telepathy-qt4/master] Connection: Clear up instrospection queue if the connection dies.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Mon Jan 26 09:06:23 PST 2009
---
TelepathyQt4/Client/connection.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/TelepathyQt4/Client/connection.cpp b/TelepathyQt4/Client/connection.cpp
index 3407985..5f5cb6b 100644
--- a/TelepathyQt4/Client/connection.cpp
+++ b/TelepathyQt4/Client/connection.cpp
@@ -389,6 +389,9 @@ void Connection::Private::changeReadiness(Readiness newReadiness)
Q_ASSERT(newReadiness == ReadinessDead);
break;
case ReadinessDead:
+ // clear up introspection queue, no need for that as the connection
+ // is dead
+ introspectQueue.clear();
default:
Q_ASSERT(false);
}
--
1.5.6.5
More information about the Telepathy-commits
mailing list