diff options
author | Melanie | 2011-05-24 00:53:28 +0200 |
---|---|---|
committer | Melanie | 2011-05-24 00:53:28 +0200 |
commit | 8b42f824d3ccd487e1d0917b155faa75fd311927 (patch) | |
tree | 9b491340f001f8c1ba56588dcd785d20bba1a092 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-8b42f824d3ccd487e1d0917b155faa75fd311927.zip opensim-SC-8b42f824d3ccd487e1d0917b155faa75fd311927.tar.gz opensim-SC-8b42f824d3ccd487e1d0917b155faa75fd311927.tar.bz2 opensim-SC-8b42f824d3ccd487e1d0917b155faa75fd311927.tar.xz |
Add an event for an orderly region shutdown that fires once per region before
the SceneGraph is torn down.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 1d2092e..5085396 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1091,6 +1091,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1091 | shuttingdown = true; | 1091 | shuttingdown = true; |
1092 | 1092 | ||
1093 | m_log.Debug("[SCENE]: Persisting changed objects"); | 1093 | m_log.Debug("[SCENE]: Persisting changed objects"); |
1094 | EventManager.TriggerSceneShuttingDown(this); | ||
1095 | |||
1094 | EntityBase[] entities = GetEntities(); | 1096 | EntityBase[] entities = GetEntities(); |
1095 | foreach (EntityBase entity in entities) | 1097 | foreach (EntityBase entity in entities) |
1096 | { | 1098 | { |