[longomatch] As we can't rely on Mono.Addins to manage domains properly between Free and Pro, we clean the addins



commit c53357e591ff68f0cc73478ab61f62d1311b5f7d
Author: Julien Moutte <julien fluendo com>
Date:   Wed Dec 3 12:28:36 2014 +0100

    As we can't rely on Mono.Addins to manage domains properly between Free and Pro, we clean the addins 
directory at startup until we find a better solution

 LongoMatch.Addins/AddinsManager.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Addins/AddinsManager.cs b/LongoMatch.Addins/AddinsManager.cs
index bce8c29..26127af 100644
--- a/LongoMatch.Addins/AddinsManager.cs
+++ b/LongoMatch.Addins/AddinsManager.cs
@@ -39,6 +39,8 @@ namespace LongoMatch.Addins
 
                public static void Initialize (string configPath, string searchPath)
                {
+                       Log.Information ("Delete addins cache at " + configPath);
+                       Directory.Delete (configPath, true);
                        searchPath = Path.GetFullPath (searchPath);
                        Log.Information ("Initializing addins at path: " + searchPath);
                        try {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]