if (log.isDebugEnabled())
log.debug("Unloading persisted sessions");
+
+ if (sessions.isEmpty()) {
+ log.debug("No persisted sessions to unload");
+ return; // nothing to do
+ }
// Open an output stream to the specified pathname, if any
File file = file();
<author email="timw@apache.org">Tim Whittington</author>
<author email="mturk@apache.org">Mladen Turk</author>
<author email="schultz@apache.org">Christopher Schultz</author>
+ <author email="slaurent@apache.org">Sylvain Laurent</author>
<title>Changelog</title>
</properties>
<section name="Tomcat 7.0.6 (markt)">
<subsection name="Catalina">
<changelog>
+ <add>
+ <bug>48973</bug>: Avoid creating a SESSIONS.ser file when stopping an
+ application if there's no session. Patch provided by Marc Guillemot.
+ (slaurent)
+ </add>
<update>
<bug>48692</bug>: Provide option to parse
<code>application/x-www-form-urlencoded</code> PUT requests. (schultz)