Commit 4f172fd8 authored by segfault's avatar segfault

Fix hanging DBus method call threads preventing process exit

parent 656b2123
......@@ -70,7 +70,7 @@ class DBusObject(object):
bus.connection.emit_signal(None, self.dbus_path, interface_name, signal_name, parameters)
def handle_method_call(self, *args, **kwargs) -> None:
thread = Thread(target=self.do_handle_method_call, args=args, kwargs=kwargs)
thread = Thread(target=self.do_handle_method_call, args=args, kwargs=kwargs, daemon=True)
thread.start()
def do_handle_method_call(self,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment