]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: drop unnecessary discardment of queued events 37022/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 5 Apr 2025 17:06:12 +0000 (02:06 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 7 Apr 2025 13:17:16 +0000 (22:17 +0900)
commitb135cb321a0f41d59a666bcbd8ead4cb2337c78f
tree84903950cec8f3b4df943dc0a2066a3b0a1064d8
parent45e8c283d87614cddc7ff23371b3e2701bd386cd
udev: drop unnecessary discardment of queued events

With the previous commit, now on_post_exit() checks only events
currently being processed. Hence, it is not necessary to discard
queued events in manager_exit().

Also, as already SIGTERM is sent to all workers, kill workers timer
is not necessary anymore after manager_exit(), hence disable it.

This mostly does not change any behavior. Just refactoring and
preparation for later change.
src/udev/udev-manager.c