aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Base/PluginManager.cs
diff options
context:
space:
mode:
authorBlueWall2012-10-10 09:35:08 -0400
committerBlueWall2012-10-10 09:35:08 -0400
commit83073ebd03e46789b3509af2c4e37ef3b3428174 (patch)
tree0b40e5e76e89887f23014e3149fba9eb13feef87 /OpenSim/Server/Base/PluginManager.cs
parentAdd System.Core to references (diff)
downloadopensim-SC-83073ebd03e46789b3509af2c4e37ef3b3428174.zip
opensim-SC-83073ebd03e46789b3509af2c4e37ef3b3428174.tar.gz
opensim-SC-83073ebd03e46789b3509af2c4e37ef3b3428174.tar.bz2
opensim-SC-83073ebd03e46789b3509af2c4e37ef3b3428174.tar.xz
Implement plugin unloading
Plugin may be enabled and disabled on the fly.
Diffstat (limited to '')
-rw-r--r--OpenSim/Server/Base/PluginManager.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Server/Base/PluginManager.cs b/OpenSim/Server/Base/PluginManager.cs
index 6248e74..d2cf668 100644
--- a/OpenSim/Server/Base/PluginManager.cs
+++ b/OpenSim/Server/Base/PluginManager.cs
@@ -246,6 +246,8 @@ namespace OpenSim.Server.Base
246 public bool AddRepository(string repo) 246 public bool AddRepository(string repo)
247 { 247 {
248 Repositories.RegisterRepository(null, repo, true); 248 Repositories.RegisterRepository(null, repo, true);
249 PluginRegistry.Rebuild(null);
250
249 return true; 251 return true;
250 } 252 }
251 253