X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=NativeLauncher%2Flauncher%2Flib%2Fcore_runtime.cc;h=ba874aabfe212c89614996224e01cf8acc0477be;hb=546f3a3947b7e7c205a4799156bcd41bc5ae3c2e;hp=af6ddaddfa510da38db8a9cf1d52a7e555c51e43;hpb=466b70b16c43d3fe6888b40f1a73f51a06d0edad;p=platform%2Fcore%2Fdotnet%2Flauncher.git diff --git a/NativeLauncher/launcher/lib/core_runtime.cc b/NativeLauncher/launcher/lib/core_runtime.cc index af6ddad..ba874aa 100644 --- a/NativeLauncher/launcher/lib/core_runtime.cc +++ b/NativeLauncher/launcher/lib/core_runtime.cc @@ -422,6 +422,11 @@ int CoreRuntime::initialize(const char* appType, LaunchMode launchMode) return -1; } + // VD has their own signal handler. + if (!pluginHasLogControl()) { + registerSigHandler(); + } + int st = createDelegate(__hostHandle, __domainId, "Tizen.Runtime", "Tizen.Runtime.Environment", "SetEnvironmentVariable", (void**)&setEnvironmentVariable); if (st < 0 || setEnvironmentVariable == nullptr) { _ERR("Create delegate for Tizen.Runtime.dll -> Tizen.Runtime.Environment -> SetEnvironmentVariable failed (0x%08x)", st); @@ -452,11 +457,6 @@ int CoreRuntime::initialize(const char* appType, LaunchMode launchMode) removeDebugPipe(); } - // VD has their own signal handler. - if (!pluginHasLogControl()) { - registerSigHandler(); - } - __initialized = true; _INFO("CoreRuntime initialize success");