[FIX] app termination (app_efl_exit() => exit(0)) 57/23557/2
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Fri, 27 Jun 2014 09:53:44 +0000 (13:53 +0400)
committerVasiliy Ulyanov <v.ulyanov@samsung.com>
Fri, 27 Jun 2014 10:05:22 +0000 (14:05 +0400)
Change-Id: I7e65e7a8e1956b72ae66a856c573317dcf9f853e
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
helper/libdaprobe.c

index 2f401f9..ca83eb1 100755 (executable)
@@ -49,7 +49,6 @@
 #include <sys/un.h>                    // for sockaddr_un
 #include <sys/timerfd.h>       // for timerfd
 
-#include <app.h>
 #include "probeinfo.h"
 #include "dautil.h"
 #include "dahelper.h"
@@ -206,8 +205,9 @@ static pid_t _gettid()
 
 void application_exit()
 {
-       PRINTMSG("EXIT appfw-capi");
-       app_efl_exit();
+       PRINTMSG("App termination: EXIT(0)");
+       /* TODO think of another way for correct app termination */
+       exit(0);
 }
 
 static void *recvThread(void __unused * data)