Merge commit 'ee84c0589ccca1e7f3216ca1395c3002b773f30f' into bigmerge
Conflicts: OpenSim/Region/ScriptEngine/XEngine/XEngine.csavinationmerge
commit
69b480770a
|
@ -337,6 +337,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
|
|
||||||
public void RemoveRegion(Scene scene)
|
public void RemoveRegion(Scene scene)
|
||||||
{
|
{
|
||||||
|
if (!m_Enabled)
|
||||||
|
return;
|
||||||
lockScriptsForRead(true);
|
lockScriptsForRead(true);
|
||||||
foreach (IScriptInstance instance in m_Scripts.Values)
|
foreach (IScriptInstance instance in m_Scripts.Values)
|
||||||
{
|
{
|
||||||
|
@ -418,6 +420,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
|
|
||||||
public void Close()
|
public void Close()
|
||||||
{
|
{
|
||||||
|
if (!m_Enabled)
|
||||||
|
return;
|
||||||
|
|
||||||
lock (m_ScriptEngines)
|
lock (m_ScriptEngines)
|
||||||
{
|
{
|
||||||
if (m_ScriptEngines.Contains(this))
|
if (m_ScriptEngines.Contains(this))
|
||||||
|
|
Loading…
Reference in New Issue