aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneBase.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-07-19 00:52:10 +0000
committerAdam Frisby2007-07-19 00:52:10 +0000
commit36fc7390f2aabb745455f23f276725f102cacbf6 (patch)
treee5bd15a711b84c48705153e36aee0174d6cbb8be /OpenSim/Region/Environment/Scenes/SceneBase.cs
parent* Nearly back down to zero compiler warnings again... (diff)
downloadopensim-SC_OLD-36fc7390f2aabb745455f23f276725f102cacbf6.zip
opensim-SC_OLD-36fc7390f2aabb745455f23f276725f102cacbf6.tar.gz
opensim-SC_OLD-36fc7390f2aabb745455f23f276725f102cacbf6.tar.bz2
opensim-SC_OLD-36fc7390f2aabb745455f23f276725f102cacbf6.tar.xz
* Moved EventManager to SceneBase (from Scene)
* Added OnShutdown event to EventManager (to be used to perform cleanups, etc) * Fixed another compiler warning.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneBase.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneBase.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneBase.cs b/OpenSim/Region/Environment/Scenes/SceneBase.cs
index 2c50e4d..f3db9e2 100644
--- a/OpenSim/Region/Environment/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneBase.cs
@@ -47,6 +47,13 @@ namespace OpenSim.Region.Environment.Scenes
47 47
48 public TerrainEngine Terrain; 48 public TerrainEngine Terrain;
49 49
50 protected EventManager m_eventManager;
51
52 public EventManager EventManager
53 {
54 get { return m_eventManager; }
55 }
56
50 protected string m_datastore; 57 protected string m_datastore;
51 58
52 protected object m_syncRoot = new object(); 59 protected object m_syncRoot = new object();
@@ -134,7 +141,7 @@ namespace OpenSim.Region.Environment.Scenes
134 { 141 {
135 try 142 try
136 { 143 {
137 //TODO: Add cleanup code for storage manager, etc. 144 this.EventManager.TriggerShutdown();
138 } 145 }
139 catch (Exception e) 146 catch (Exception e)
140 { 147 {