mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Change the order of actions to address a possible nullref
This commit is contained in:
@@ -179,11 +179,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
if (m_pendingObjects != null)
|
||||
lock (m_pendingObjects)
|
||||
{
|
||||
lock (m_pendingObjects)
|
||||
if (m_pendingObjects != null)
|
||||
{
|
||||
|
||||
m_pendingObjects.Clear();
|
||||
m_pendingObjects = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user