summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLee Culver <leculver@microsoft.com>2016-05-18 11:10:35 -0700
committerLee Culver <leculver@microsoft.com>2016-05-18 11:26:18 -0700
commit2d8411497bd55cf36915005b36e8691f8112c6f7 (patch)
treec90e48b9039cf43651079c136f718472238f8845 /src
parent08832577f09faf9176de87bf49765ae7bbdf8e62 (diff)
downloadcoreclr-2d8411497bd55cf36915005b36e8691f8112c6f7.tar.gz
coreclr-2d8411497bd55cf36915005b36e8691f8112c6f7.tar.bz2
coreclr-2d8411497bd55cf36915005b36e8691f8112c6f7.zip
Prevent core dumps at shutdown when the ETW subsystem races with debugger cleanup.
Diffstat (limited to 'src')
-rw-r--r--src/vm/ceemain.cpp1
-rw-r--r--src/vm/eedbginterfaceimpl.cpp2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/vm/ceemain.cpp b/src/vm/ceemain.cpp
index 9963e7c1ac..1e6d0e8068 100644
--- a/src/vm/ceemain.cpp
+++ b/src/vm/ceemain.cpp
@@ -4188,7 +4188,6 @@ static void TerminateDebugger(void)
// This will kill the helper thread, delete the Debugger object, and free all resources.
g_pDebugInterface->StopDebugger();
- g_pDebugInterface = NULL;
}
// Delete this after Debugger, since Debugger may use this.
diff --git a/src/vm/eedbginterfaceimpl.cpp b/src/vm/eedbginterfaceimpl.cpp
index 219082011b..53cb288319 100644
--- a/src/vm/eedbginterfaceimpl.cpp
+++ b/src/vm/eedbginterfaceimpl.cpp
@@ -1657,8 +1657,6 @@ BOOL EEDbgInterfaceImpl::ObjIsInstanceOf(Object *pElement, TypeHandle toTypeHnd)
void EEDbgInterfaceImpl::ClearAllDebugInterfaceReferences()
{
LIMITED_METHOD_CONTRACT;
-
- g_pDebugInterface = NULL;
}
#ifndef DACCESS_COMPILE