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 18:10:06 +01:00
parent 290cb8e883
commit a0c6f3cb66
+2 -2
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; \
}