On Wed, Apr 15, 2009 at 4:12 AM, Matthew Toseland <toad at amphibian.dyndns.org> wrote: > On Tuesday 14 April 2009 06:36:28 j16sdiz at freenetproject.org wrote: >> 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); > > Check the persistenceType, not whether container != null
Fixed at r26827