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