tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardContext.java
Date Fri, 24 Dec 2004 16:50:00 GMT
markt       2004/12/24 08:50:00

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardContext.java
  Log:
  Fix bug 32559. add call to context.clearAttributes()
  
  Revision  Changes    Path
  1.158     +5 -1      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.157
  retrieving revision 1.158
  diff -u -r1.157 -r1.158
  --- StandardContext.java	1 Dec 2004 11:07:16 -0000	1.157
  +++ StandardContext.java	24 Dec 2004 16:50:00 -0000	1.158
  @@ -4254,6 +4254,10 @@
           // Stop our filters
           filterStop();
   
  +        // Clear all application-originated servlet context attributes
  +        if (context != null)
  +            context.clearAttributes();
  +
           // Stop ContainerBackgroundProcessor thread
           super.threadStop();
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message