Fixed null bug, which was making unit tests fail

0.6.6-post-fixes
MW 2009-06-26 12:30:54 +00:00
parent 7a2c41dea0
commit 9e4d077d70
1 changed files with 7 additions and 3 deletions

View File

@ -188,13 +188,17 @@ namespace OpenSim.Region.Framework.Scenes
}
public void Reset()
{
if (m_pendingObjects != null)
{
lock (m_pendingObjects)
{
m_pendingObjects.Clear();
m_pendingObjects = null;
}
}
}
public void Close()
{