[freenet-cvs] r11978 - trunk/freenet/src/freenet/client/async

toad at freenetproject.org toad at freenetproject.org
Tue Mar 6 01:34:23 UTC 2007


Author: toad
Date: 2007-03-05 20:50:40 +0000 (Mon, 05 Mar 2007)
New Revision: 11978

Modified:
   trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
Log:
Fix bug in "synchronization" commit

Modified: trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java	2007-03-05 20:49:25 UTC (rev 11977)
+++ trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java	2007-03-05 20:50:40 UTC (rev 11978)
@@ -170,10 +170,12 @@
 			}
 		}
 		parentFetcher.parent.completedBlock(dontNotify);
+		if(decodeNow) {
 		Runnable r = new Decoder();
 		Thread t = new Thread(r, "Decoder for "+this);
 		t.setDaemon(true);
 		t.start();
+		}
 	}
 
 	class Decoder implements Runnable {




More information about the cvs mailing list