diff options
author | Daniel Mack <daniel@zonque.org> | 2015-06-08 22:58:50 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-06-25 17:18:41 +0200 |
commit | 418b22b88f79911fe5d76fabedd18ef1eb491680 (patch) | |
tree | bec913e91eab644d6f7fe76fd3a9e751f4eda84c /src/machine | |
parent | 906fa490769c4bdb3be1e90ac7d16f66120608c7 (diff) |
logind: fix delayed execution regression
Commit c0f32805 ("logind: use sd_event timer source for inhibitor
logic") reworked the main loop logic of logind so that it uses a
real timeout callback handler to execute delayed functions.
What the old code did, however, was to call those functions on
every iteration in the main loop, not only when the timeout
expired.
Restore that behavior by bringing back manager_dispatch_delayed(),
and call it from manager_run(). The internal event source callback
manager_inhibit_timeout_handler() was turned into a wrapper of
manager_dispatch_delayed() now.
Diffstat (limited to 'src/machine')
0 files changed, 0 insertions, 0 deletions