[d-feet] introspection: Clear idle id when done with it



commit cfeb3c07f81c2a7e341eeaa7be222dea6e43b29f
Author: Ray Strode <rstrode redhat com>
Date:   Wed May 20 11:17:18 2020 -0400

    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.

 src/dfeet/introspection.py | 1 +
 1 file changed, 1 insertion(+)
---
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)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]