From 96f7e609085b019989a3f7a613fbd05f629793bd Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 8 Dec 2021 14:42:21 +0900 Subject: Make sure to handle pending messages at start up if a dbus service is invoked by the dbus daemon. Prior to this fix, when a service was started by the dbus daemon, the first dbus call sent to it was being held back till the next dbus call was performed, resulting in a long timeout for the first unhandled call and a delayed answer. Signed-off-by: Michele Calgaro --- src/tqdbusconnection_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tqdbusconnection_p.h') diff --git a/src/tqdbusconnection_p.h b/src/tqdbusconnection_p.h index 6e4efd1..a27705a 100644 --- a/src/tqdbusconnection_p.h +++ b/src/tqdbusconnection_p.h @@ -85,6 +85,7 @@ public: bool handleSignal(DBusMessage *msg); bool handleObjectCall(DBusMessage *message); bool handleError(); + bool handleUnreadMessages(); void emitPendingCallReply(const TQT_DBusMessage& message); -- cgit v1.2.1