* Temporary measure of deleting the Mono addin cache dir of addin-db-000/ on every startup to avoid cache corruption problems

ThreadPoolClientBranch
Justin Clarke Casey 2008-02-15 12:50:10 +00:00
parent 23c7c6dabd
commit c769d93206
1 changed files with 7 additions and 0 deletions

View File

@ -123,6 +123,13 @@ namespace OpenSim
{
IConfig startupConfig = configSource.Configs["Startup"];
// The Mono addin manager (in Mono.Addins.dll version 0.2.0.0) occasionally seems to corrupt its addin cache
// Hence, as a temporary solution we'll remove it before each startup
if (Directory.Exists("addin-db-000"))
{
Directory.Delete("addin-db-000", true);
}
AddinManager.Initialize(".");
AddinManager.Registry.Update(null);