diff options
Diffstat (limited to '')
-rw-r--r-- | drv_picoLCDGraphic.c | 4 | ||||
-rw-r--r-- | plugin_dbus.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/drv_picoLCDGraphic.c b/drv_picoLCDGraphic.c index 0577337..5e7e159 100644 --- a/drv_picoLCDGraphic.c +++ b/drv_picoLCDGraphic.c @@ -608,8 +608,6 @@ int drv_pLG_quit(const int quiet) info("%s: shutting down.", Name); - drv_generic_graphic_quit(); - /* clear display */ drv_pLG_clear(); @@ -625,6 +623,8 @@ int drv_pLG_quit(const int quiet) BufPtr = NULL; } + drv_generic_graphic_quit(); + return (0); } diff --git a/plugin_dbus.c b/plugin_dbus.c index da93949..b40c3b6 100644 --- a/plugin_dbus.c +++ b/plugin_dbus.c @@ -510,6 +510,9 @@ static int lcd_dbus_init(void) dbus_error_free(&err); success &= 1; } else { +#ifdef DEBUG + dbus_connection_set_exit_on_disconnect(sessconn, FALSE); +#endif setup_dbus_events(sessconn); } @@ -518,6 +521,9 @@ static int lcd_dbus_init(void) 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); } |