[jboss-cvs] JBossAS SVN: r104925 - projects/microcontainer/branches/Branch_2_0/kernel/src/main/java/org/jboss/kernel/plugins/dependency.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue May 18 08:11:50 EDT 2010
Author: alesj
Date: 2010-05-18 08:11:49 -0400 (Tue, 18 May 2010)
New Revision: 104925
Modified:
projects/microcontainer/branches/Branch_2_0/kernel/src/main/java/org/jboss/kernel/plugins/dependency/AbstractKernelController.java
Log:
Port [JBKERNEL-112]; proper cleanup.
Modified: projects/microcontainer/branches/Branch_2_0/kernel/src/main/java/org/jboss/kernel/plugins/dependency/AbstractKernelController.java
===================================================================
--- projects/microcontainer/branches/Branch_2_0/kernel/src/main/java/org/jboss/kernel/plugins/dependency/AbstractKernelController.java 2010-05-18 10:35:44 UTC (rev 104924)
+++ projects/microcontainer/branches/Branch_2_0/kernel/src/main/java/org/jboss/kernel/plugins/dependency/AbstractKernelController.java 2010-05-18 12:11:49 UTC (rev 104925)
@@ -401,6 +401,8 @@
log.trace("Removing contex " + context + " to class: " + clazz);
}
classContext.contexts.remove(context);
+ if (classContext.contexts.isEmpty())
+ contextsByClass.remove(clazz);
}
}
// traverse superclass
More information about the jboss-cvs-commits
mailing list