mirror of
https://github.com/systemd/systemd.git
synced 2024-11-08 11:27:32 +03:00
networkd: remove vestigial event sources
187fe1db took advantage of floating events, but didn't remove pointers it made superfluous.
This commit is contained in:
parent
eed9386748
commit
124f09e812
@ -146,8 +146,6 @@ void manager_free(Manager *m) {
|
||||
udev_unref(m->udev);
|
||||
sd_bus_unref(m->bus);
|
||||
sd_event_source_unref(m->udev_event_source);
|
||||
sd_event_source_unref(m->sigterm_event_source);
|
||||
sd_event_source_unref(m->sigint_event_source);
|
||||
sd_event_unref(m->event);
|
||||
|
||||
while ((link = hashmap_first(m->links)))
|
||||
|
@ -174,8 +174,6 @@ struct Manager {
|
||||
struct udev *udev;
|
||||
struct udev_monitor *udev_monitor;
|
||||
sd_event_source *udev_event_source;
|
||||
sd_event_source *sigterm_event_source;
|
||||
sd_event_source *sigint_event_source;
|
||||
|
||||
char *state_file;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user