r26774 - trunk/freenet/src/freenet/node/fcp

[email protected]
Newsgroups gmane.network.freenet.cvs
Message-ID <[email protected]>
Author: j16sdiz
Date: 2009-04-14 05:36:27 +0000 (Tue, 14 Apr 2009)
New Revision: 26774

Modified:
   trunk/freenet/src/freenet/node/fcp/FCPClient.java
Log:
Fix remove all for globalRebootClient (fix bug 2984)

Modified: trunk/freenet/src/freenet/node/fcp/FCPClient.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/FCPClient.java	2009-04-14 04:51:00 UTC (rev 26773)
+++ trunk/freenet/src/freenet/node/fcp/FCPClient.java	2009-04-14 05:36:27 UTC (rev 26774)
@@ -463,7 +463,8 @@
 				toKill.add(req);
 			}
 			clientRequestsByIdentifier.clear();
-			container.ext().store(clientRequestsByIdentifier, 2);
+			if (container != null)
+				container.ext().store(clientRequestsByIdentifier, 2);
 		}
 	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.