aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/ModuleLoader.cs
diff options
context:
space:
mode:
authorTedd Hansen2008-02-10 19:03:38 +0000
committerTedd Hansen2008-02-10 19:03:38 +0000
commit0756e01475f05663e23fc2e328620750d981dd40 (patch)
tree9a0ecb4f950a0cf804f341898d57bce5180ab9da /OpenSim/Region/Environment/ModuleLoader.cs
parent* Added support for delinking individual prim from a linkset. (diff)
downloadopensim-SC_OLD-0756e01475f05663e23fc2e328620750d981dd40.zip
opensim-SC_OLD-0756e01475f05663e23fc2e328620750d981dd40.tar.gz
opensim-SC_OLD-0756e01475f05663e23fc2e328620750d981dd40.tar.bz2
opensim-SC_OLD-0756e01475f05663e23fc2e328620750d981dd40.tar.xz
Removed some ScriptEngine config debugging.
Added experimental console command to: * unload module (note: module probably doesn't support it) * load module Not visible in help (needs testing first).
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