0001-Change-_dbus_exit-to-raise-SIGTERM-by-default.patch

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


Hi,

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.

Havoc


More information about the dbus mailing list