aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 8bdf39a..9061244 100755
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1577,6 +1577,7 @@ namespace OpenSim.Region.Framework.Scenes
1577 m_heartbeatThread = null; 1577 m_heartbeatThread = null;
1578 } 1578 }
1579 1579
1580 GC.Collect();
1580 // tell physics to finish building actor 1581 // tell physics to finish building actor
1581 m_sceneGraph.ProcessPhysicsPreSimulation(); 1582 m_sceneGraph.ProcessPhysicsPreSimulation();
1582 1583
@@ -2798,7 +2799,11 @@ namespace OpenSim.Region.Framework.Scenes
2798 if (!silent) 2799 if (!silent)
2799 SendKillObject(new List<uint>() { group.LocalId }); 2800 SendKillObject(new List<uint>() { group.LocalId });
2800 2801
2801 // m_log.DebugFormat("[SCENE]: Exit DeleteSceneObject() for {0} {1}", group.Name, group.UUID); 2802 // use this to mean also full delete
2803 if (removeScripts)
2804 group.Clear();
2805 partList = null;
2806 // m_log.DebugFormat("[SCENE]: Exit DeleteSceneObject() for {0} {1}", group.Name, group.UUID);
2802 } 2807 }
2803 2808
2804 /// <summary> 2809 /// <summary>