The starting flag can be set by the startup signal handler.
APP_NOTIFY_START handler MUST check the socket exists flag.
Change-Id: I479d1114a07bef04270fa505410bba8d07102486
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
app_status_h app_status;
app_status = _app_status_find_v2(pid);
- if (app_status && !app_status->starting) {
+ if (app_status && !app_status->socket_exists) {
app_status->socket_exists = true;
app_status->starting = true;
app_status->real_pid = pid;