[webbeans-commits] Webbeans SVN: r3758 - ri/trunk/impl/src/main/java/org/jboss/webbeans/context.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Wed Sep 23 07:12:02 EDT 2009


Author: pete.muir at jboss.org
Date: 2009-09-23 07:12:01 -0400 (Wed, 23 Sep 2009)
New Revision: 3758

Modified:
   ri/trunk/impl/src/main/java/org/jboss/webbeans/context/ContextLifecycle.java
Log:
fix cleanup order

Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/context/ContextLifecycle.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/context/ContextLifecycle.java	2009-09-23 11:11:51 UTC (rev 3757)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/context/ContextLifecycle.java	2009-09-23 11:12:01 UTC (rev 3758)
@@ -116,11 +116,11 @@
    
    public void cleanup() 
    {
+      dependentContext.cleanup();
+      requestContext.cleanup();
+      conversationContext.cleanup();
+      sessionContext.cleanup();
       applicationContext.cleanup();
-      sessionContext.cleanup();
-      conversationContext.cleanup();
-      requestContext.cleanup();
-      dependentContext.cleanup();
    }
    
    public ApplicationContext getApplicationContext()




More information about the weld-commits mailing list