mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Guard against locking a nullref to avoid build break
This commit is contained in:
@@ -179,6 +179,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
if (m_pendingObjects == null)
|
||||
return;
|
||||
|
||||
lock (m_pendingObjects)
|
||||
{
|
||||
if (m_pendingObjects != null)
|
||||
|
||||
Reference in New Issue
Block a user