Fix a logic error in app domain creation

0.7.4.1
Melanie 2012-04-18 23:23:37 +01:00
parent 7a255efdb2
commit beb7b8d189
1 changed files with 1 additions and 1 deletions

View File

@ -1025,7 +1025,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
sandbox = AppDomain.CreateDomain( sandbox = AppDomain.CreateDomain(
m_Scene.RegionInfo.RegionID.ToString(), m_Scene.RegionInfo.RegionID.ToString(),
evidence, appSetup); evidence, appSetup);
m_AppDomains[appDomain].AssemblyResolve += sandbox.AssemblyResolve +=
new ResolveEventHandler( new ResolveEventHandler(
AssemblyResolver.OnAssemblyResolve); AssemblyResolver.OnAssemblyResolve);
} }