main-func: make sure we destruct memory and stuff last

Let's terminate pagers and agents before releasing all memory.
This commit is contained in:
Lennart Poettering 2019-03-21 17:57:16 +01:00
parent 290cb8e883
commit a0c6f3cb66
1 changed files with 2 additions and 2 deletions

View File

@ -16,11 +16,11 @@
save_argc_argv(argc, argv); \
intro; \
r = impl; \
static_destruct(); \
ask_password_agent_close(); \
polkit_agent_close(); \
mac_selinux_finish(); \
pager_close(); \
mac_selinux_finish(); \
static_destruct(); \
return ret; \
}