If the delay count is not over 10, amd should not send SIGABRT to
the running process.
Change-Id: Ic2a614dc641a5fce4812a1158214012db4f29239
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
app_status->GetAppID().c_str(), app_status->GetPID(),
app_status->IsStarting() ? "true" : "false",
app_status->GetDelayCount());
- int signo = app_status->IsStarting() ? SIGKILL : SIGABRT;
+ int signo = SIGKILL;
+ if (!app_status->IsStarting() && app_status->GetDelayCount() >= 10)
+ signo = SIGABRT;
int ret = kill(app_status->GetPID(), signo);
if (ret < 0) {
_W("Failed to send signal(%d) signal, pid(%d), errno(%d)",