clear cache index map if deleting cache

This commit is contained in:
Andy Clement
2012-12-11 10:28:17 -08:00
parent 8fbffa90e6
commit 0c40cbfd66

View File

@@ -184,6 +184,9 @@ public class MethodInvokerRewriter {
File cacheDir = new File(GlobalConfiguration.cacheDir, ".slcache");
if (cacheDir.exists()) {
recursiveDelete(cacheDir);
if (cacheIndex!=null) {
cacheIndex.clear();
}
}
versionInIndex=false;
}