{
if (NULL != g_conn_listener) {
dbus_connection_close(g_conn_listener);
- dbus_connection_unref(g_conn_listener);
g_conn_listener = NULL;
}
if (NULL != g_conn_sender) {
dbus_connection_close(g_conn_sender);
- dbus_connection_unref(g_conn_sender);
g_conn_sender = NULL;
}
}
{
if (NULL != g_conn_listener) {
dbus_connection_close(g_conn_listener);
- dbus_connection_unref(g_conn_listener);
g_conn_listener = NULL;
}
if (NULL != g_conn_sender) {
dbus_connection_close(g_conn_sender);
- dbus_connection_unref(g_conn_sender);
g_conn_sender = NULL;
}
}