dbus: do not exit on bus disconnection

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-06-17 10:27:54 +02:00
parent 6d755c5524
commit acf4202143
1 changed files with 1 additions and 0 deletions

1
dbus.c
View File

@ -488,6 +488,7 @@ a_dbus_connect(DBusBusType type, const char *type_name,
}
else
{
dbus_connection_set_exit_on_disconnect(dbus_connection, false);
if(dbus_connection_get_unix_fd(dbus_connection, &fd))
{
fcntl(fd, F_SETFD, FD_CLOEXEC);