move starting point of logging thread 59/169859/1 accepted/tizen/4.0/unified/20180212.141310 submit/tizen_4.0/20180212.020346
authorCho Woong Suk <ws77.cho@samsung.com>
Mon, 12 Feb 2018 01:37:53 +0000 (10:37 +0900)
committerCho Woong Suk <ws77.cho@samsung.com>
Mon, 12 Feb 2018 01:37:53 +0000 (10:37 +0900)
Change-Id: Idbcc475f6c987bf956724a79ab00b094fcc2d9c2

NativeLauncher/launcher/dotnet/dotnet_launcher.cc

index af29793..f7d04db 100644 (file)
@@ -124,6 +124,10 @@ CoreRuntime::~CoreRuntime()
 
 int CoreRuntime::initialize(bool standalone)
 {
+       if (runLoggingThread() < 0) {
+               _ERR("Failed to create logging thread");
+       }
+
 #ifdef __arm__
        // libunwind library is used to unwind stack frame, but libunwind for ARM
        // does not support ARM vfpv3/NEON registers in DWARF format correctly.
@@ -320,10 +324,6 @@ int CoreRuntime::launch(const char* appId, const char* root, const char* path, i
        if (pluginBeforeExecute)
                pluginBeforeExecute();
 
-       if (runLoggingThread() < 0) {
-               _ERR("Failed to create logging thread");
-       }
-
        unsigned int ret = 0;
        int st = executeAssembly(__hostHandle, __domainId, argc, (const char**)argv, path, &ret);
        if (st < 0)