From 1b50616347c2126fe3c67e9e81c88b9936a7a8ee Mon Sep 17 00:00:00 2001 From: wfurt Date: Fri, 1 May 2020 21:25:37 -0700 Subject: [PATCH] fix handling of COMPlus_ZapDisable --- src/coreclr/src/vm/appdomain.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/coreclr/src/vm/appdomain.cpp b/src/coreclr/src/vm/appdomain.cpp index 02c34950e0c5c6..95cd9174b9db2b 100644 --- a/src/coreclr/src/vm/appdomain.cpp +++ b/src/coreclr/src/vm/appdomain.cpp @@ -1768,10 +1768,8 @@ void SystemDomain::Init() // to allow stub caches to use the memory pool. Do not // initialze it here! -#ifdef FEATURE_PREJIT if (CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_ZapDisable) != 0) g_fAllowNativeImages = false; -#endif m_pSystemFile = NULL; m_pSystemAssembly = NULL;