diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 7 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 874bb41..a542ab0 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1416,5 +1416,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
1416 | avatar = null; | 1416 | avatar = null; |
1417 | return false; | 1417 | return false; |
1418 | } | 1418 | } |
1419 | |||
1420 | public override void Close() | ||
1421 | { | ||
1422 | m_heartbeatTimer.Close(); | ||
1423 | |||
1424 | base.Close(); | ||
1425 | } | ||
1419 | } | 1426 | } |
1420 | } \ No newline at end of file | 1427 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs index 0670fc7..a97020e 100644 --- a/OpenSim/Region/Environment/Scenes/SceneManager.cs +++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs | |||
@@ -227,5 +227,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
227 | avatar = null; | 227 | avatar = null; |
228 | return false; | 228 | return false; |
229 | } | 229 | } |
230 | |||
231 | public void CloseScene(Scene scene) | ||
232 | { | ||
233 | m_localScenes.Remove(scene); | ||
234 | scene.Close(); | ||
235 | } | ||
230 | } | 236 | } |
231 | } \ No newline at end of file | 237 | } \ No newline at end of file |