merge private
[framework/appfw/aul-1.git] / src / launch.c
index 4639b50..51fc466 100755 (executable)
@@ -88,6 +88,7 @@ static int app_terminate()
        return 0;
 }
 
+
 /**
  * @brief      encode kb and send it to 'pid'
  * @param[in]  pid             receiver's pid
@@ -331,6 +332,10 @@ int aul_sock_handler(int fd)
                app_terminate();
                break;
 
+       case APP_TERM_REQ_BY_PID:       /* run in callee */
+               app_subapp_terminate_request();
+               break;
+
        case APP_RESULT:        /* run in caller */
        case APP_CANCEL:
                kbundle = bundle_decode(pkt->data, pkt->len);