From 1bc4ff4404c103986da3600d8eaefb91a615f6a1 Mon Sep 17 00:00:00 2001 From: Jonghyun Park Date: Fri, 2 Jun 2017 22:12:19 +0900 Subject: [PATCH] Invoke jitShutdown during ProcessShutdownWork (dotnet/coreclr#12054) Commit migrated from https://github.com/dotnet/coreclr/commit/ef4b192c83f7edd90c75d65ba5440327b3f9d276 --- src/coreclr/src/jit/ee_il_dll.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/src/jit/ee_il_dll.cpp b/src/coreclr/src/jit/ee_il_dll.cpp index 3389608..553a9b8 100644 --- a/src/coreclr/src/jit/ee_il_dll.cpp +++ b/src/coreclr/src/jit/ee_il_dll.cpp @@ -126,6 +126,8 @@ void jitShutdown() #ifdef FEATURE_TRACELOGGING JitTelemetry::NotifyDllProcessDetach(); #endif + + g_jitInitialized = false; } #ifndef FEATURE_MERGE_JIT_AND_ENGINE @@ -345,9 +347,7 @@ void CILJit::ProcessShutdownWork(ICorStaticInfo* statInfo) // Continue, by shutting down this JIT as well. } -#ifdef FEATURE_MERGE_JIT_AND_ENGINE jitShutdown(); -#endif Compiler::ProcessShutdownWork(statInfo); } -- 2.7.4