Author: j16sdiz
Date: 2008-12-22 09:52:06 +0000 (Mon, 22 Dec 2008)
New Revision: 24727

Modified:
   trunk/plugins/XMLSpider/XMLSpider.java
Log:
clear cache on terminate

Modified: trunk/plugins/XMLSpider/XMLSpider.java
===================================================================
--- trunk/plugins/XMLSpider/XMLSpider.java      2008-12-22 09:51:42 UTC (rev 
24726)
+++ trunk/plugins/XMLSpider/XMLSpider.java      2008-12-22 09:52:06 UTC (rev 
24727)
@@ -512,6 +512,9 @@
                }
                try { callbackExecutor.awaitTermination(15, TimeUnit.SECONDS); 
} catch (InterruptedException e) {}
                try { db.close(); } catch (Exception e) {}
+               synchronized (this) {
+                       cachedTerm.clear();
+               }
        }
 
        public synchronized void runPlugin(PluginRespirator pr) {

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to