[freenet-cvs] r12594 - trunk/freenet/src/freenet/node/fcp

nextgens at freenetproject.org nextgens at freenetproject.org
Thu Apr 12 10:07:59 UTC 2007


Author: nextgens
Date: 2007-04-12 10:07:59 +0000 (Thu, 12 Apr 2007)
New Revision: 12594

Modified:
   trunk/freenet/src/freenet/node/fcp/FCPConnectionHandler.java
Log:
If we don't want it to leak, we need to remove it from the hashmap at some point

Modified: trunk/freenet/src/freenet/node/fcp/FCPConnectionHandler.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/FCPConnectionHandler.java	2007-04-12 10:04:39 UTC (rev 12593)
+++ trunk/freenet/src/freenet/node/fcp/FCPConnectionHandler.java	2007-04-12 10:07:59 UTC (rev 12594)
@@ -385,7 +385,7 @@
 			throw new IllegalArgumentException("The specified path isn't a directory!");
 		
 		synchronized (inTestDirectories) {
-			return (DDACheckJob)inTestDirectories.get(directory);
+			return (DDACheckJob)inTestDirectories.remove(directory);
 		}
 	}
 }




More information about the cvs mailing list