Havoc Pennington havoc.pennington at gmail.com
Tue May 4 07:52:39 PDT 2010


2010/4/28 Rémi Denis-Courmont <remi at remlab.net>:
> IMHO, if you want to register handle a custom handler for DBus
> disconnections, you should extend DBus to provide a dedicated function,
> akin to Xlib's XSetIOErrorHandler() (which is by design not thread-safe by
> the way :( ).

There is already a way to do this (handle the Disconnected signal).
The intended way to use the API is that if you handle Disconnected
manually, you would turn off the exit on disconnect. If you don't
handle Disconnected, then the default exit behavior is there.


More information about the dbus mailing list