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:
Bastien Nocera 2016-09-16 12:34:15 +02:00
parent 6ab7fab326
commit 297c9a8613
1 changed files with 1 additions and 0 deletions

View File

@ -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)