cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components CocoonComponentManager.java
Date Sat, 16 Nov 2002 16:40:27 GMT
cziegeler    2002/11/16 08:40:27

  Modified:    src/java/org/apache/cocoon/components
                        CocoonComponentManager.java
  Log:
  Adding missing clean-up
  
  Revision  Changes    Path
  1.34      +6 -2      xml-cocoon2/src/java/org/apache/cocoon/components/CocoonComponentManager.java
  
  Index: CocoonComponentManager.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/CocoonComponentManager.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- CocoonComponentManager.java	15 Nov 2002 17:15:47 -0000	1.33
  +++ CocoonComponentManager.java	16 Nov 2002 16:40:27 -0000	1.34
  @@ -184,7 +184,11 @@
       public static void endProcessing(Object key) {
           Map processes = (Map)processList.get();
           if ( null != processes ) {
  -            processes.remove(key);            
  +            EnvironmentDescription desc = (EnvironmentDescription)processes.get(key);
  +            if ( null != desc ) {
  +                desc.release();
  +                processes.remove(key);            
  +            }
           }
       }
       
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message