Author: toad
Date: 2009-04-03 23:17:32 +0000 (Fri, 03 Apr 2009)
New Revision: 26489
Modified:
trunk/freenet/src/freenet/client/async/USKFetcherTag.java
Log:
Copy it
Modified: trunk/freenet/src/freenet/client/async/USKFetcherTag.java
===================================================================
--- trunk/freenet/src/freenet/client/async/USKFetcherTag.java 2009-04-03
23:13:14 UTC (rev 26488)
+++ trunk/freenet/src/freenet/client/async/USKFetcherTag.java 2009-04-03
23:17:32 UTC (rev 26489)
@@ -98,6 +98,8 @@
container.activate(origUSK, 5);
if(usk.suggestedEdition < edition)
usk = usk.copy(edition);
+ else if(persistent) // Copy it to avoid deactivation issues
+ usk = usk.clone();
fetcher = manager.getFetcher(usk, ctx, new
USKFetcherWrapper(usk, priority, client), keepLastData);
fetcher.addCallback(this);
fetcher.schedule(null, context); // non-persistent
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs