Change-Id: Iea5c43c88fd5bccf4f150b5f491b1e8dac6d3004
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
#include "common/installer_runner.h"
#include <manifest_parser/utils/logging.h>
+#include <pkgmgr_parser_db.h>
#include <list>
#include <string>
if (ret != AppInstaller::Result::OK && ret != AppInstaller::Result::ERROR)
result = AppInstaller::Result::UNDO_ERROR;
} while (it-- != installers_.begin());
+ pkgmgr_parser_clear_cache_memory_db();
} else {
+ pkgmgr_parser_clear_cache_memory_db();
if (pkgmgr_->GetRequestType() != RequestType::Recovery)
global_recovery_->AppendCleanUp();
--it;