aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 3a6bb05..6a10969 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1696,13 +1696,13 @@ namespace OpenSim.Region.Environment.Scenes
1696 return LLUUID.Zero; 1696 return LLUUID.Zero;
1697 } 1697 }
1698 1698
1699 private readonly const object _performParcelPrimCountUpdateMutex = new object(); 1699 private static readonly object _performParcelPrimCountUpdateMutex = new object();
1700 /// <summary> 1700 /// <summary>
1701 /// 1701 ///
1702 /// </summary> 1702 /// </summary>
1703 public void performParcelPrimCountUpdate() 1703 public void performParcelPrimCountUpdate()
1704 { 1704 {
1705 lock (performParcelPrimCountUpdate) 1705 lock (_performParcelPrimCountUpdateMutex)
1706 { 1706 {
1707 m_LandManager.resetAllLandPrimCounts(); 1707 m_LandManager.resetAllLandPrimCounts();
1708 m_eventManager.TriggerParcelPrimCountUpdate(); 1708 m_eventManager.TriggerParcelPrimCountUpdate();