if (r == 0)
return 1; /* Will call us back */
- r = seat_stop_sessions(s, true);
+ r = seat_stop_sessions(s, /* force = */ true);
if (r < 0)
return r;
assert(es);
assert(s);
- session_stop(s, false);
+ session_stop(s, /* force = */ false);
return 0;
}
/* EOF on the FIFO means the session died abnormally. */
session_remove_fifo(s);
- session_stop(s, false);
+ session_stop(s, /* force = */ false);
return 1;
}
if (r == 0)
return 1; /* Will call us back */
- r = user_stop(u, true);
+ r = user_stop(u, /* force */ true);
if (r < 0)
return r;
seat->in_gc_queue = false;
if (seat_may_gc(seat, drop_not_started)) {
- seat_stop(seat, false);
+ seat_stop(seat, /* force = */ false);
seat_free(seat);
}
}
/* First, if we are not closing yet, initiate stopping */
if (session_may_gc(session, drop_not_started) &&
session_get_state(session) != SESSION_CLOSING)
- (void) session_stop(session, false);
+ (void) session_stop(session, /* force = */ false);
/* Normally, this should make the session referenced
* again, if it doesn't then let's get rid of it