Author: toad
Date: 2007-11-28 16:04:00 +0000 (Wed, 28 Nov 2007)
New Revision: 16027

Modified:
   trunk/freenet/src/freenet/node/CHKInsertSender.java
Log:
Clear the cw so that finish() doesn't wait for it

Modified: trunk/freenet/src/freenet/node/CHKInsertSender.java
===================================================================
--- trunk/freenet/src/freenet/node/CHKInsertSender.java 2007-11-28 16:02:19 UTC 
(rev 16026)
+++ trunk/freenet/src/freenet/node/CHKInsertSender.java 2007-11-28 16:04:00 UTC 
(rev 16027)
@@ -613,6 +613,7 @@
        synchronized(this) {
                status = RECEIVE_FAILED;
                allTransfersCompleted = true;
+               cw = null; // Effectively ... we certainly don't want to wait 
for it.
                notifyAll();
        }
        // Do not call finish(), that can only be called on the main thread and 
it will block.


Reply via email to