Author: toad
Date: 2008-10-21 16:52:32 +0000 (Tue, 21 Oct 2008)
New Revision: 23016

Modified:
   branches/db4o/freenet/src/freenet/client/async/SimpleSingleFileFetcher.java
Log:
Set finished here. Maybe this will fix TheSeeker's startup NPE.


Modified: 
branches/db4o/freenet/src/freenet/client/async/SimpleSingleFileFetcher.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SimpleSingleFileFetcher.java 
2008-10-21 16:34:05 UTC (rev 23015)
+++ branches/db4o/freenet/src/freenet/client/async/SimpleSingleFileFetcher.java 
2008-10-21 16:52:32 UTC (rev 23016)
@@ -103,6 +103,9 @@
                }
                // :(
                unregisterAll(container, context);
+               synchronized(this) {
+                       finished = true;
+               }
                if(e.isFatal() || forceFatal)
                        parent.fatallyFailedBlock(container, context);
                else


Reply via email to