diff options
author | Ray Strode <rstrode@redhat.com> | 2020-05-20 11:17:18 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2020-05-20 11:17:18 -0400 |
commit | cfeb3c07f81c2a7e341eeaa7be222dea6e43b29f (patch) | |
tree | 92bd6a97eb3de6c269b8d33018bf4f158943ee60 | |
parent | 0c5846f02aa4c597739f5745f95d1f3ecb17bb34 (diff) | |
download | d-feet-cfeb3c07f81c2a7e341eeaa7be222dea6e43b29f.tar.gz |
introspection: Clear idle id when done with it
commit 3c82a664155695bd4243c2a964b3ec22c544f3f6 added
an idle handler to help process introspection requests
asynchronously. It failed to clear the idle handler id
when the idle finished, however.
This commit fixes that.
-rw-r--r-- | src/dfeet/introspection.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dfeet/introspection.py b/src/dfeet/introspection.py index 1d6c9f6..2a4484d 100644 --- a/src/dfeet/introspection.py +++ b/src/dfeet/introspection.py @@ -257,6 +257,7 @@ class AddressInfo(): self.__label_unique_name.set_text(self.unique_name) self.introspect_box.show_all() + self.__introspection_idle_id = 0 else: self.__introspection_idle_id = GLib.idle_add(self.__dbus_node_introspect) |