Author: toad
Date: 2009-03-24 11:59:51 +0000 (Tue, 24 Mar 2009)
New Revision: 26149

Modified:
   branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
Log:
If fetcherFinished, parent won't exist


Modified: 
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2009-03-24 11:58:39 UTC (rev 26148)
+++ branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2009-03-24 11:59:51 UTC (rev 26149)
@@ -1451,7 +1451,7 @@
                SplitFileFetcherSubSegment seg;
                short onSuccessResult = (short) -1;
                synchronized(this) {
-                       if(finished || startedDecode) {
+                       if(finished || startedDecode || fetcherFinished) {
                                return false;
                        }
                        blockNum = this.getBlockNumber(key, container);

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

Reply via email to