mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
* Temporary measure of deleting the Mono addin cache dir of addin-db-000/ on every startup to avoid cache corruption problems
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user