Fixed null bug, which was making unit tests fail
parent
7a2c41dea0
commit
9e4d077d70
|
@ -188,13 +188,17 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Reset()
|
public void Reset()
|
||||||
|
{
|
||||||
|
if (m_pendingObjects != null)
|
||||||
{
|
{
|
||||||
lock (m_pendingObjects)
|
lock (m_pendingObjects)
|
||||||
{
|
{
|
||||||
|
|
||||||
m_pendingObjects.Clear();
|
m_pendingObjects.Clear();
|
||||||
m_pendingObjects = null;
|
m_pendingObjects = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void Close()
|
public void Close()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue