Author: toad
Date: 2008-12-18 23:13:05 +0000 (Thu, 18 Dec 2008)
New Revision: 24540
Modified:
branches/db4o/freenet/src/freenet/node/fcp/FCPConnectionHandler.java
Log:
Fix assertion failure
Modified: branches/db4o/freenet/src/freenet/node/fcp/FCPConnectionHandler.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/fcp/FCPConnectionHandler.java
2008-12-18 23:12:37 UTC (rev 24539)
+++ branches/db4o/freenet/src/freenet/node/fcp/FCPConnectionHandler.java
2008-12-18 23:13:05 UTC (rev 24540)
@@ -117,8 +117,8 @@
server.core.clientContext.jobRunner.queue(new DBJob() {
public void run(ObjectContainer container,
ClientContext context) {
- if((rebootClient != null) &&
!rebootClient.hasPersistentRequests(container))
- server.unregisterClient(rebootClient,
container);
+ if((rebootClient != null) &&
!rebootClient.hasPersistentRequests(null))
+ server.unregisterClient(rebootClient,
null);
if(foreverClient != null) {
if(!container.ext().isStored(foreverClient)) {
Logger.error(this,
"foreverClient is not stored in the database in lost connection non-dupe
callback; not deleting it");
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs