Cancel pending calls when giving up on them
authorMike Gorse <mgorse@suse.com>
Wed, 10 Jul 2013 20:20:53 +0000 (15:20 -0500)
committerMike Gorse <mgorse@suse.com>
Wed, 10 Jul 2013 20:20:53 +0000 (15:20 -0500)
commit5c7e53d9924dabf8082fa97b247b1529e2e4e8f5
treed05d3a90f10d9ff0dc4673ddc018878ddfa7f0c5
parent5da70658ed42ab4e33e8b47db2e930bb5977d624
Cancel pending calls when giving up on them

When timing out without having received a reply from a pending call,
then
cancel the call so that it will be removed from the DBusConnection's
queue. This will hopefully prevent the call and the
SpiReentrantCallClosure from being leaked.

Note that this code is still behaving oddly (why isn't a notification
being sent by libdbus when the specified amount of time has ellapsed?)
dbind/dbind.c