* Prevent dbus from exiting the program when compiled with -DDEBUG
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1068
3ae390bd-cb1e-0410-b409-
cd5a39f66f1f
info("%s: shutting down.", Name);
- drv_generic_graphic_quit();
-
/* clear display */
drv_pLG_clear();
BufPtr = NULL;
}
+ drv_generic_graphic_quit();
+
return (0);
}
dbus_error_free(&err);
success &= 1;
} else {
+#ifdef DEBUG
+ dbus_connection_set_exit_on_disconnect(sessconn, FALSE);
+#endif
setup_dbus_events(sessconn);
}
info("[DBus] Error connecting to the dbus system bus: %s\n", err.message);
success &= 2;
} else {
+#ifdef DEBUG
+ dbus_connection_set_exit_on_disconnect(sysconn, FALSE);
+#endif
setup_dbus_events(sysconn);
}