Guard against locking a nullref to avoid build break

This commit is contained in:
Melanie
2010-10-08 19:19:07 +01:00
parent 5dcbbb726a
commit 4a0911bdbd

View File

@@ -179,6 +179,9 @@ namespace OpenSim.Region.Framework.Scenes
public void Reset()
{
if (m_pendingObjects == null)
return;
lock (m_pendingObjects)
{
if (m_pendingObjects != null)