x11: Reset dbus_connection global variable on exit
To ensure that the state of the variable is correct. This won't be needed if X11 is never reinitialised.
This commit is contained in:
parent
6ab7fab326
commit
297c9a8613
|
@ -89,6 +89,7 @@ static void dbus_close_connection(void)
|
|||
|
||||
dbus_connection_close(dbus_connection);
|
||||
dbus_connection_unref(dbus_connection);
|
||||
dbus_connection = NULL;
|
||||
}
|
||||
|
||||
static void dbus_screensaver_inhibit(void)
|
||||
|
|
Loading…
Reference in New Issue