diff options
author | Thiago Macieira <thiago@kde.org> | 2008-05-17 10:11:20 +0200 |
---|---|---|
committer | Thiago Macieira <thiago@kde.org> | 2008-05-17 10:11:20 +0200 |
commit | af41f085c675d42d615050101e74f966931e5577 (patch) | |
tree | 05e1f600b6d13888919148d88447dcf2419bb4ae | |
parent | eead418b248106c0046a36ae43fce8ec6614dbf5 (diff) | |
parent | cdca6dbce88fd1e1195e2a81eb6619c782df2fac (diff) |
Merge branch 'dbus-1.2'
-rw-r--r-- | dbus/dbus-connection.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index 3a1670ca..7b13b249 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -965,6 +965,13 @@ _dbus_connection_detach_pending_call_and_unlock (DBusConnection *connection, _dbus_pending_call_ref_unlocked (pending); _dbus_hash_table_remove_int (connection->pending_replies, _dbus_pending_call_get_reply_serial_unlocked (pending)); + + if (_dbus_pending_call_is_timeout_added_unlocked (pending)) + _dbus_connection_remove_timeout_unlocked (connection, + _dbus_pending_call_get_timeout_unlocked (pending)); + + _dbus_pending_call_set_timeout_added_unlocked (pending, FALSE); + _dbus_pending_call_unref_and_unlock (pending); } |