Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50411
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 5 Dec 2010 19:32:00 +0000 (19:32 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 5 Dec 2010 19:32:00 +0000 (19:32 +0000)
Ensure sessions are removed from the Store associated with a PersistentManager.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1042427 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/session/PersistentManagerBase.java
webapps/docs/changelog.xml

index f34d417..b7db830 100644 (file)
@@ -584,9 +584,9 @@ public abstract class PersistentManagerBase extends ManagerBase {
      * @param session Session to be removed
      */
     @Override
-    public void remove(Session session) {
+    public void remove(Session session, boolean update) {
 
-        super.remove (session);
+        super.remove (session, update);
 
         if (store != null){
             removeSession(session.getIdInternal());
index 677ff96..d6c84bf 100644 (file)
         Code clean-up. Replace use of inefficient constructors with more
         efficient alternatives. (markt)
       </fix>
+      <fix>
+        <bug>50411</bug>: Ensure sessions are removed from the
+        <code>Store</code> associated with a <code>PersistentManager</code>.
+        (markt) 
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">