Skip to content

Commit 8042c7f

Browse files
committed
csm-manager.c: Clear system inhibitors before attempting to
restart or shutdown using systemd. Fixes #186.
1 parent 28b5ebc commit 8042c7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cinnamon-session/csm-manager.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,8 @@ csm_manager_quit (CsmManager *manager)
473473
/* See the comment in request_reboot() for some more details about how
474474
* this works. */
475475

476+
csm_store_clear (manager->priv->inhibitors);
477+
476478
switch (manager->priv->logout_type) {
477479
case CSM_MANAGER_LOGOUT_LOGOUT:
478480
csm_quit ();

0 commit comments

Comments
 (0)