diff options
author | Michele Calgaro <[email protected]> | 2021-12-08 14:42:21 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-12-08 19:23:43 +0900 |
commit | a5488007501c78afcbfaff5bb6e48fec85afebe8 (patch) | |
tree | faf8146bfeabeab5a6301317c65203f3387a1c38 /tqdbusconnection_p.h | |
parent | fb8b28ec7dc78e2b8c6fc3e3c3e5f3d7a1984b06 (diff) | |
download | dbus-1-tqt-a5488007501c78afcbfaff5bb6e48fec85afebe8.tar.gz dbus-1-tqt-a5488007501c78afcbfaff5bb6e48fec85afebe8.zip |
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 <[email protected]>
(cherry picked from commit 96f7e609085b019989a3f7a613fbd05f629793bd)
Diffstat (limited to 'tqdbusconnection_p.h')
-rw-r--r-- | tqdbusconnection_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tqdbusconnection_p.h b/tqdbusconnection_p.h index 6e4efd1..a27705a 100644 --- a/tqdbusconnection_p.h +++ b/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); |