diff options
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-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 | ||