aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 1767623..4f68817 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -617,6 +617,11 @@ namespace OpenSim.Region.Environment.Scenes
617 } 617 }
618 } 618 }
619 619
620 public List<ulong> GetKnownRegionList()
621 {
622 return m_knownChildRegions;
623 }
624
620 #endregion 625 #endregion
621 626
622 #region Event Handlers 627 #region Event Handlers
@@ -1767,7 +1772,25 @@ namespace OpenSim.Region.Environment.Scenes
1767 1772
1768 internal void Close() 1773 internal void Close()
1769 { 1774 {
1775 lock (m_knownPrimUUID)
1776 {
1777 m_knownPrimUUID.Clear();
1778 }
1779 lock (m_knownChildRegions)
1780 {
1781 m_knownChildRegions.Clear();
1782 }
1783 lock (m_updateTimes)
1784 {
1785 m_updateTimes.Clear();
1786 }
1787 lock (m_partsUpdateQueue)
1788 {
1789 m_partsUpdateQueue.Clear();
1790 }
1791
1770 RemoveFromPhysicalScene(); 1792 RemoveFromPhysicalScene();
1793 GC.Collect();
1771 } 1794 }
1772 } 1795 }
1773} 1796}