[freenet-cvs] r19753 - trunk/freenet/src/freenet/client

j16sdiz at freenetproject.org j16sdiz at freenetproject.org
Mon May 5 12:10:42 UTC 2008


Author: j16sdiz
Date: 2008-05-05 12:10:41 +0000 (Mon, 05 May 2008)
New Revision: 19753

Modified:
   trunk/freenet/src/freenet/client/FECCodec.java
Log:
fix synchronization


Modified: trunk/freenet/src/freenet/client/FECCodec.java
===================================================================
--- trunk/freenet/src/freenet/client/FECCodec.java	2008-05-04 23:30:19 UTC (rev 19752)
+++ trunk/freenet/src/freenet/client/FECCodec.java	2008-05-05 12:10:41 UTC (rev 19753)
@@ -441,7 +441,7 @@
 				Logger.error(this, "Caught "+t+" in "+this, t);
 			}
 			finally {
-				synchronized(FECCodec.class) {
+				synchronized (_awaitingJobs) {
 					runningFECThreads--;
 				}
 			}




More information about the cvs mailing list