circumvent destruction of ::policy_checker, remove destructors that are empty or... 17/96517/1 submit/tizen_3.0/20161109.081209
authorKonrad Lipinski <konrad.l@samsung.com>
Mon, 7 Nov 2016 18:03:53 +0000 (19:03 +0100)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 9 Nov 2016 07:56:20 +0000 (23:56 -0800)
commitcc6c4ae57015ac860c7eddddedfa6a804c2c29ab
treeab2fef189e36cd846c4a3f8122aed127fb403aeb
parent1549df0b26957a918dea2a1c94ee6f410f88dab0
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
(cherry picked from commit 1e961ec457d48198118bbff42204d668d714bccb)
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