From 47fa476210e47c05ab852452c88fb7bce8a99bc7 Mon Sep 17 00:00:00 2001 From: Igor Kulaychuk Date: Thu, 16 Aug 2018 20:13:59 +0300 Subject: [PATCH] Disable debug pipes and semaphores creation in case of non-standlone mode Change-Id: I618eaa439ab7cbda7b21809ad2b4f200230292a5 --- NativeLauncher/launcher/dotnet/dotnet_launcher.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NativeLauncher/launcher/dotnet/dotnet_launcher.cc b/NativeLauncher/launcher/dotnet/dotnet_launcher.cc index 07854e8..171607d 100644 --- a/NativeLauncher/launcher/dotnet/dotnet_launcher.cc +++ b/NativeLauncher/launcher/dotnet/dotnet_launcher.cc @@ -271,6 +271,10 @@ int CoreRuntime::initialize(bool standalone) putenv(const_cast("UNW_ARM_UNWIND_METHOD=6")); #endif // __arm__ + // Disable debug pipes and semaphores creation in case of non-standlone mode + if (!standalone) + putenv(const_cast("COMPlus_EnableDiagnostics=0")); + // read string from external file and set them to environment value. setEnvFromFile(); -- 2.7.4