Author: toad
Date: 2008-07-25 11:05:34 +0000 (Fri, 25 Jul 2008)
New Revision: 21393
Modified:
branches/db4o/freenet/src/freenet/node/fcp/FCPConnectionHandler.java
Log:
This might be one possible explanation
Modified: branches/db4o/freenet/src/freenet/node/fcp/FCPConnectionHandler.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/fcp/FCPConnectionHandler.java
2008-07-25 10:57:18 UTC (rev 21392)
+++ branches/db4o/freenet/src/freenet/node/fcp/FCPConnectionHandler.java
2008-07-25 11:05:34 UTC (rev 21393)
@@ -119,6 +119,10 @@
if((rebootClient != null) &&
!rebootClient.hasPersistentRequests(container))
server.unregisterClient(rebootClient,
container);
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");
+ return;
+ }
container.activate(foreverClient, 1);
if(!foreverClient.hasPersistentRequests(container))
server.unregisterClient(foreverClient, container);