Clear memory db before sending the finish signal 87/279287/1
authorIlho Kim <ilho159.kim@samsung.com>
Fri, 5 Aug 2022 06:13:12 +0000 (15:13 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Fri, 5 Aug 2022 06:32:04 +0000 (15:32 +0900)
commitabbfe1553b28f688457f7dac74ac4868cb9ec7cb
treec1e9c2d1729b12457ac2f2a16cab8a1f5a8ce3ef
parent5279bfd3f05e213186ede71dbf561ca9a640b3d3
Clear memory db before sending the finish signal

Because installer can write to db during undo or clear operation
such as UninstallSteps, the client who received the finish signal
may take the wrong package information

Change-Id: I62d674e4b37692fabdee45287c99dce202616b87
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
(cherry picked from commit 6b1545db2a79c4fbfe9bc5a0d29ddce0a2d41d57)
src/common/installer/app_installer.cc