Fix description generator
authorpius.lee <pius.lee@samsung.com>
Wed, 15 Jul 2015 03:38:13 +0000 (12:38 +0900)
committerpius.lee <pius.lee@samsung.com>
Wed, 15 Jul 2015 03:41:34 +0000 (12:41 +0900)
Finish it with _exit function for ignore unintentional destructor in SO

Change-Id: I6dd69e9d4ec7da2ad7863b168d8b5d5d99f38921

src/tool/desc_gentool.cc

index 690667c4451bfec5054103bfac20859988617a9e..69fc6ceb2fcccf58a95de7212766d44d1ef65212 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <dlfcn.h>
 #include <dirent.h>
+#include <unistd.h>
 
 #include <common/extension.h>
 
@@ -209,5 +210,8 @@ int main(int argc, char* argv[]) {
     return -1;
   }
 
+  // it would be need for ignore loaded libraries destructor
+  _exit(0);
+
   return 0;
 }