Disable debug pipes and semaphores creation in case of non-standlone mode
authorIgor Kulaychuk <i.kulaychuk@samsung.com>
Thu, 16 Aug 2018 17:13:59 +0000 (20:13 +0300)
committer조웅석/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 <ws77.cho@samsung.com>
Thu, 6 Sep 2018 01:22:00 +0000 (10:22 +0900)
Change-Id: I618eaa439ab7cbda7b21809ad2b4f200230292a5

NativeLauncher/launcher/dotnet/dotnet_launcher.cc

index 07854e8..171607d 100644 (file)
@@ -271,6 +271,10 @@ int CoreRuntime::initialize(bool standalone)
        putenv(const_cast<char *>("UNW_ARM_UNWIND_METHOD=6"));
 #endif // __arm__
 
+       // Disable debug pipes and semaphores creation in case of non-standlone mode
+       if (!standalone)
+               putenv(const_cast<char *>("COMPlus_EnableDiagnostics=0"));
+
        // read string from external file and set them to environment value.
        setEnvFromFile();