Since the clean type recovery has been added
If the process of all steps is successful,
the installer considers all of the installation to be successful
and sends a finished signal
If there is an operation in a clean that has not yet been completed
like database commit operation, there is a timing issue that an application
that received the finished signal can access where it is not completed
Change-Id: I3195b46ded497cc67bfc2d12e528d9a9e7961cea
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
recovery_file->set_cleanup(true);
recovery_file->WriteAndCommitFileContent();
}
- SendFinished(status_);
do {
if (it_ == steps_.end())
}
} while (it_-- != steps_.begin());
sync();
+ SendFinished(status_);
LogHistoryEnd(true);