aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/ModuleLoader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/ModuleLoader.cs')
-rw-r--r--OpenSim/Region/Environment/ModuleLoader.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/ModuleLoader.cs b/OpenSim/Region/Environment/ModuleLoader.cs
index bc0bbaf..1200c8d 100644
--- a/OpenSim/Region/Environment/ModuleLoader.cs
+++ b/OpenSim/Region/Environment/ModuleLoader.cs
@@ -294,5 +294,12 @@ namespace OpenSim.Region.Environment
294 { 294 {
295 LoadedAssemblys.Clear(); 295 LoadedAssemblys.Clear();
296 } 296 }
297
298 public void UnloadModule(IRegionModule rm)
299 {
300 rm.Close();
301
302 m_loadedModules.Remove(rm);
303 }
297 } 304 }
298} \ No newline at end of file 305} \ No newline at end of file