diff options
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r-- | OpenSim/Grid/GridServer/GridServerBase.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Grid/GridServer/GridServerBase.cs b/OpenSim/Grid/GridServer/GridServerBase.cs index d63ac2e..113d5c8 100644 --- a/OpenSim/Grid/GridServer/GridServerBase.cs +++ b/OpenSim/Grid/GridServer/GridServerBase.cs | |||
@@ -115,11 +115,11 @@ namespace OpenSim.Grid.GridServer | |||
115 | 115 | ||
116 | protected virtual void LoadPlugins() | 116 | protected virtual void LoadPlugins() |
117 | { | 117 | { |
118 | PluginLoader<IGridPlugin> loader = | 118 | using (PluginLoader<IGridPlugin> loader = new PluginLoader<IGridPlugin>(new GridPluginInitialiser(this))) |
119 | new PluginLoader<IGridPlugin>(new GridPluginInitialiser(this)); | 119 | { |
120 | 120 | loader.Load("/OpenSim/GridServer"); | |
121 | loader.Load("/OpenSim/GridServer"); | 121 | m_plugins = loader.Plugins; |
122 | m_plugins = loader.Plugins; | 122 | } |
123 | } | 123 | } |
124 | 124 | ||
125 | public override void ShutdownSpecific() | 125 | public override void ShutdownSpecific() |