Add a way for QtDBus to force a call to dbus_shutdown
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 17 Aug 2012 16:11:52 +0000 (18:11 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sat, 25 Aug 2012 08:34:39 +0000 (10:34 +0200)
commit98437f0e2edde7f5e49e1a6bea27ef130b58bee4
treea84c71ef0e431c00f0e129fc827d6c48d3f92b86
parent292350f70d56e02005dc3fbad9e50147bd13c5cc
Add a way for QtDBus to force a call to dbus_shutdown

This will ask the D-Bus library to free its caches. It's useful for
running valgrind on a D-Bus based application, so we can detect real
leaks.

We can't run this by default because there could be other users of
libdbus-1. Calling the shutdown function would make them stop working.

Change-Id: I9854b82afcdbc4955d6f0a1a1b49a673186242c8
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
src/dbus/dbus.pro
src/dbus/qdbus_symbols.cpp