summaryrefslogtreecommitdiff
path: root/dbus
diff options
context:
space:
mode:
authorScott Tsai <scottt.tw@gmail.com>2011-03-24 22:13:55 +0800
committerSimon McVittie <smcv@debian.org>2011-05-17 17:57:26 +0100
commitd2fc8a5a4ac2ce8eab519557c40432a6879a7c23 (patch)
tree976e38962d9244f7cb491c5607b272e704d247c7 /dbus
parent73fce893626e2e2640a35798266f4ee2bc6c05eb (diff)
ProxyObject: clear _pending_introspect_queue after execution
Signed-off-by: Simon McVittie <smcv@debian.org>
Diffstat (limited to 'dbus')
-rw-r--r--dbus/proxies.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/proxies.py b/dbus/proxies.py
index cbb5d53..ebdc583 100644
--- a/dbus/proxies.py
+++ b/dbus/proxies.py
@@ -376,6 +376,7 @@ class ProxyObject(object):
# and do one message per idle
for (proxy_method, args, keywords) in self._pending_introspect_queue:
proxy_method(*args, **keywords)
+ self._pending_introspect_queue = []
def _introspect_reply_handler(self, data):
self._introspect_lock.acquire()