circumvent destruction of ::policy_checker, remove destructors that are empty or... 84/96084/4
authorKonrad Lipinski <konrad.l@samsung.com>
Mon, 7 Nov 2016 18:03:53 +0000 (19:03 +0100)
committerKonrad Lipinski <konrad.l@samsung.com>
Tue, 8 Nov 2016 06:52:46 +0000 (07:52 +0100)
commit1e961ec457d48198118bbff42204d668d714bccb
treeab2fef189e36cd846c4a3f8122aed127fb403aeb
parent1c8bd17ca32a21ca16f2bf625fe788eacf2e0a72
circumvent destruction of ::policy_checker, remove destructors that are empty or never called

Motivated by KONA bugs (ex. DF161028-00875). VD product environment
apparently likes calling libdbuspolicy1 public functions while exit
handlers are being called (and thus global objects are being destroyed).

Solution: circumvent destruction of relevant globals altogether.

Change-Id: Ibeab05ed83cc24dc6a5da926fb542f31d8a33af1
src/internal/internal.cpp
src/internal/naive_policy_checker.cpp
src/internal/naive_policy_checker.hpp
src/internal/naive_policy_db.cpp
src/internal/naive_policy_db.hpp
src/internal/policy.cpp
src/internal/policy.hpp