Author: toad
Date: 2009-01-30 01:42:43 +0000 (Fri, 30 Jan 2009)
New Revision: 25390
Modified:
branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java
Log:
Fix saces' NPE hopefully (activation problem)
Modified:
branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java
2009-01-30 01:36:59 UTC (rev 25389)
+++ branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java
2009-01-30 01:42:43 UTC (rev 25390)
@@ -533,6 +533,7 @@
// This can be huge! Run it on its own transaction to minimize
the build up of stuff to commit
// and maximise the opportunities for garbage collection.
if(persistent()) {
+ container.activate(runGotAllMetadata, 1); // need to
activate .this!
context.jobRunner.queueRestartJob(runGotAllMetadata,
NativeThread.NORM_PRIORITY, container);
context.jobRunner.queue(runGotAllMetadata,
NativeThread.NORM_PRIORITY, false);
} else {
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs