summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-06-02 22:12:19 +0900
committerJan Vorlicek <janvorli@microsoft.com>2017-06-02 15:12:19 +0200
commitef4b192c83f7edd90c75d65ba5440327b3f9d276 (patch)
treee5c8fd570e8aae3375251a18726158a982211052
parent95db5aa01cf19a6962d7e4d348b17d0821935858 (diff)
downloadcoreclr-ef4b192c83f7edd90c75d65ba5440327b3f9d276.tar.gz
coreclr-ef4b192c83f7edd90c75d65ba5440327b3f9d276.tar.bz2
coreclr-ef4b192c83f7edd90c75d65ba5440327b3f9d276.zip
Invoke jitShutdown during ProcessShutdownWork (#12054)
-rw-r--r--src/jit/ee_il_dll.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/ee_il_dll.cpp b/src/jit/ee_il_dll.cpp
index 33896080b8..553a9b8f13 100644
--- a/src/jit/ee_il_dll.cpp
+++ b/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);
}