summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-06-08 22:58:50 +0200
committerSven Eden <yamakuzure@gmx.net>2017-03-14 10:01:48 +0100
commit61c0276130571598a970f314368866b219d7cddc (patch)
tree47b8177669b13fe1d8490f79752325deab098700 /src/shared/util.h
parent3a7b6e3724297e0fb7a57ea45a3cbc46213e9ec4 (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/shared/util.h')
0 files changed, 0 insertions, 0 deletions