summaryrefslogtreecommitdiff
path: root/src/logind.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logind.c')
-rw-r--r--src/logind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logind.c b/src/logind.c
index 701ef494e8..8507c2e152 100644
--- a/src/logind.c
+++ b/src/logind.c
@@ -771,7 +771,7 @@ static void manager_pipe_notify_eof(Manager *m, int fd) {
assert(s->pipe_fd == fd);
session_unset_pipe_fd(s);
- session_add_to_gc_queue(s);
+ session_stop(s);
}
static int manager_connect_bus(Manager *m) {