dbus_shutdown call

Naveen Verma ernaveenverma at gmail.com
Tue Jan 8 06:01:37 PST 2008


Hi,

Probably you are taking a shared connection which you can't close, thats why
this error is coming. What if you could try to take a private connection
(dbus_bus_get_private()), and close(dbus_connection_close()) and
unreferenced(dbus_connection_unref()) after use and then call
dbus_shutdown()?

-Br
Naveen

On Jan 8, 2008 2:51 PM, Ge@@ru <geaaru at gmail.com> wrote:

> Hi at all,
>  i want use dbus_shutdown function for deallocate internal dbus variable
> before exit from my application and avoid valgrind warning.
> On bus session this works fine but on system bus i have this abort:
> process 26586: dbus_shutdown() called but connections were still live.
> This probably means the application did not drop all its references to
> bus connections
>
> Why? Have you an idea how can i resolve this problem?
>
> Thanks in advance.
>
> Ge@@ru
>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20080108/323fc73e/attachment.htm 


More information about the dbus mailing list