diff options
author | Justin Clarke Casey | 2008-02-15 12:50:10 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-02-15 12:50:10 +0000 |
commit | c769d93206457d2aff4eda6073bd8629872e242d (patch) | |
tree | 602c6632f39fbb87ed05926333e6886d95bfa18b /OpenSim/Region/Application | |
parent | Fixed bug in AvatarFactoryModule that resulted in removing cloth items, not b... (diff) | |
download | opensim-SC-c769d93206457d2aff4eda6073bd8629872e242d.zip opensim-SC-c769d93206457d2aff4eda6073bd8629872e242d.tar.gz opensim-SC-c769d93206457d2aff4eda6073bd8629872e242d.tar.bz2 opensim-SC-c769d93206457d2aff4eda6073bd8629872e242d.tar.xz |
* Temporary measure of deleting the Mono addin cache dir of addin-db-000/ on every startup to avoid cache corruption problems
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 3df4c8c..1e5fcfb 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -123,6 +123,13 @@ namespace OpenSim | |||
123 | { | 123 | { |
124 | IConfig startupConfig = configSource.Configs["Startup"]; | 124 | IConfig startupConfig = configSource.Configs["Startup"]; |
125 | 125 | ||
126 | // The Mono addin manager (in Mono.Addins.dll version 0.2.0.0) occasionally seems to corrupt its addin cache | ||
127 | // Hence, as a temporary solution we'll remove it before each startup | ||
128 | if (Directory.Exists("addin-db-000")) | ||
129 | { | ||
130 | Directory.Delete("addin-db-000", true); | ||
131 | } | ||
132 | |||
126 | AddinManager.Initialize("."); | 133 | AddinManager.Initialize("."); |
127 | AddinManager.Registry.Update(null); | 134 | AddinManager.Registry.Update(null); |
128 | 135 | ||