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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>