aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/GridServer
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/GridServer/GridServerBase.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/OpenSim/Grid/GridServer/GridServerBase.cs b/OpenSim/Grid/GridServer/GridServerBase.cs
index d63ac2e..9b0d7ea 100644
--- a/OpenSim/Grid/GridServer/GridServerBase.cs
+++ b/OpenSim/Grid/GridServer/GridServerBase.cs
@@ -29,7 +29,6 @@ using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.IO; 30using System.IO;
31using System.Reflection; 31using System.Reflection;
32using System.Timers;
33using log4net; 32using log4net;
34using Nini.Config; 33using Nini.Config;
35using OpenSim.Framework; 34using OpenSim.Framework;
@@ -115,11 +114,11 @@ namespace OpenSim.Grid.GridServer
115 114
116 protected virtual void LoadPlugins() 115 protected virtual void LoadPlugins()
117 { 116 {
118 PluginLoader<IGridPlugin> loader = 117 using (PluginLoader<IGridPlugin> loader = new PluginLoader<IGridPlugin>(new GridPluginInitialiser(this)))
119 new PluginLoader<IGridPlugin>(new GridPluginInitialiser(this)); 118 {
120 119 loader.Load("/OpenSim/GridServer");
121 loader.Load("/OpenSim/GridServer"); 120 m_plugins = loader.Plugins;
122 m_plugins = loader.Plugins; 121 }
123 } 122 }
124 123
125 public override void ShutdownSpecific() 124 public override void ShutdownSpecific()