summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav Khanna (CLR) <gaurav.khanna@microsoft.com>2016-01-25 14:31:55 -0800
committerGaurav Khanna (CLR) <gaurav.khanna@microsoft.com>2016-01-25 14:52:17 -0800
commit2fa0090010d4ba7c75ae65149988b8a78f3ae067 (patch)
treeacc0a76599da4bd6a76bb0ca4951d3f85fc7282a
parent82e5fba902043783a9446048317d821860423f8e (diff)
downloadcoreclr-2fa0090010d4ba7c75ae65149988b8a78f3ae067.tar.gz
coreclr-2fa0090010d4ba7c75ae65149988b8a78f3ae067.tar.bz2
coreclr-2fa0090010d4ba7c75ae65149988b8a78f3ae067.zip
Ensure TPA Binder initialized Managed ALC field to NULL
-rw-r--r--src/binder/coreclrbindercommon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/binder/coreclrbindercommon.cpp b/src/binder/coreclrbindercommon.cpp
index cec0d8e0b3..6e3f52e153 100644
--- a/src/binder/coreclrbindercommon.cpp
+++ b/src/binder/coreclrbindercommon.cpp
@@ -44,6 +44,7 @@ HRESULT CCoreCLRBinderHelper::DefaultBinderSetupContext(DWORD dwAppDomainId,CLRP
if(SUCCEEDED(hr))
{
pApplicationContext->SetAppDomainId(dwAppDomainId);
+ pBinder->SetManagedAssemblyLoadContext(NULL);
*ppTPABinder = clr::SafeAddRef(pBinder.Extract());
}
}