Author: toad
Date: 2009-04-03 14:32:03 +0000 (Fri, 03 Apr 2009)
New Revision: 26444
Modified:
trunk/freenet/src/freenet/client/async/PersistentChosenRequest.java
Log:
Explain in comments
Modified: trunk/freenet/src/freenet/client/async/PersistentChosenRequest.java
===================================================================
--- trunk/freenet/src/freenet/client/async/PersistentChosenRequest.java
2009-04-03 14:29:56 UTC (rev 26443)
+++ trunk/freenet/src/freenet/client/async/PersistentChosenRequest.java
2009-04-03 14:32:03 UTC (rev 26444)
@@ -155,6 +155,7 @@
// Okay...
if(!alreadyActive)
container.deactivate(request,
1);
+ // Don't removeRunningRequest, because
we've already done that.
return;
} else {
Logger.error(this, "Finished but
blocksFinished not empty on "+this, new Exception("debug"));
@@ -167,6 +168,7 @@
// Wait... if we set finished, we have to
process them now, and
// we can't process them now because we haven't
had the callbacks,
// we don't know what the outcome will be.
+ // Don't removeRunningRequest, because we're
not finished yet.
return;
}
finished = true;
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs