Fix duplicate execution problem 86/301786/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 22 Nov 2023 23:28:53 +0000 (08:28 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 22 Nov 2023 23:28:53 +0000 (08:28 +0900)
commit93d144a68a24e2ed51c6d794b8a0364a2383f9dc
treee2bae87efb347b278703c3e7b89f78adfb3b51fb
parent4c2aff2152ed72625ea39b862b70662095f38c53
Fix duplicate execution problem

When a new app is launched by receiving a request to execute it,
if the onboot feature is activated, the app process is duplicated.
This problem occurs because the CheckStatus() method does not properly handle
the confirmation of pending items.
The problem is fixed by modifying the socket option.

Change-Id: Icc4478766a25fdf34073dd331dc878478c577b58
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/amd_launch.cc
src/lib/request/request_manager.cc
src/lib/request/request_manager.hh