config: don't reset connection info on disconnect.
If dbus is restarted, we try to connect again and this is difficult if the busname and/or busobject is not set.
This commit is contained in:
parent
d232665223
commit
210eeef495
|
@ -396,9 +396,6 @@ err_start:
|
||||||
static void
|
static void
|
||||||
disconnect_hook(void *data)
|
disconnect_hook(void *data)
|
||||||
{
|
{
|
||||||
struct connection_info *info = data;
|
|
||||||
|
|
||||||
reset_info(info);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
@ -440,4 +437,6 @@ void
|
||||||
config_dbus_fini(void)
|
config_dbus_fini(void)
|
||||||
{
|
{
|
||||||
config_dbus_core_remove_hook(&core_hook);
|
config_dbus_core_remove_hook(&core_hook);
|
||||||
|
connection_data.busname[0] = '\0';
|
||||||
|
connection_data.busobject[0] = '\0';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user