From d2fc8a5a4ac2ce8eab519557c40432a6879a7c23 Mon Sep 17 00:00:00 2001 From: Scott Tsai Date: Thu, 24 Mar 2011 22:13:55 +0800 Subject: ProxyObject: clear _pending_introspect_queue after execution Signed-off-by: Simon McVittie --- dbus/proxies.py | 1 + 1 file changed, 1 insertion(+) (limited to 'dbus') 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() -- cgit v1.2.3