avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/util ContextManager.java
Date Thu, 23 Jan 2003 21:45:16 GMT
bloritsch    2003/01/23 13:45:16

  Modified:    fortress/src/java/org/apache/excalibur/fortress/util
                        ContextManager.java
  Log:
  desparate hack.  ThreadManager does not dispose properly for some reason, but I am still
working on it
  
  Revision  Changes    Path
  1.60      +5 -3      jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/util/ContextManager.java
  
  Index: ContextManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/util/ContextManager.java,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- ContextManager.java	23 Jan 2003 21:27:42 -0000	1.59
  +++ ContextManager.java	23 Jan 2003 21:45:16 -0000	1.60
  @@ -329,8 +329,10 @@
                   // I have not been able to track it down yet, but as all
                   // the threads are Daemon threads it is safe to ignore it
                   // for now.
  -                if ( o instanceof ThreadManager ) continue;
  -                ContainerUtil.shutdown( o );
  +                if ( ! (o instanceof ThreadManager) )
  +                {
  +                    ContainerUtil.shutdown( o );
  +                }
               }
               catch( Exception e )
               {
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message