dbus cleanup question

John (J5) Palmieri johnp at redhat.com
Thu Feb 21 05:58:19 PST 2008


On Thu, 2008-02-21 at 13:17 +0000, Macartney, Geoff wrote:
> Hi Havoc et al.
> 
> I have a followup question to my question about cleanup on shutdown. 
> 
> I tried adding dbus_shutdown (I was already calling dbus_unref on my
> connection) upon exit, and I get the error message:
> 
> process 12278: dbus_shutdown() called but connections were still live.
> This probably means the application did not drop all its references to
> bus connections.

How many times do you call dbus_bus_get?  And what version of D-Bus are
you using.  Some older versions did not handle shutdown properly under
certain conditions.

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list