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:
parent
290cb8e883
commit
a0c6f3cb66
|
@ -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; \
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue