SendAppTerminateRequestSignal(app_status);
int ret = amd::AppRequest::Terminate(pid, req.get());
- if (ret == 0) {
- amd::AppStatusManager::GetInst().Update(app_status, STATUS_DYING,
- false, true);
- }
+ amd::AppStatusManager::GetInst().Update(app_status, STATUS_DYING,
+ false, true);
return ret;
}
app_status->GetPID());
if (ret < 0)
_E("Failed to terminate app_status(%d)", app_status->GetPID());
-
- Update(app_status, STATUS_DYING, false, true);
}
}
if (ret < 0)
_E("Failed to terminate app_status(%d)", app_status->GetPID());
- Update(app_status, STATUS_DYING, false, true);
DeleteSocketPath(app_status->GetPID(), app_status->GetUID());
}
}
if (ret < 0)
_E("Failed to terminate app_status(%d)", app_status->GetPID());
- Update(app_status, STATUS_DYING, false, true);
DeleteSocketPath(app_status->GetPID(), app_status->GetUID());
}
}
app_status->GetPID());
if (ret < 0)
_E("Failed to terminate app_status(%d)", app_status->GetPID());
-
- Update(app_status, STATUS_DYING, false, true);
}
}
continue;
}
- Update(app_status, STATUS_DYING, false, true);
done++;
}
}