[weld-commits] Weld SVN: r5626 - core/trunk/impl/src/main/java/org/jboss/weld/servlet.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Mon Jan 25 16:23:36 EST 2010


Author: pete.muir at jboss.org
Date: 2010-01-25 16:23:35 -0500 (Mon, 25 Jan 2010)
New Revision: 5626

Modified:
   core/trunk/impl/src/main/java/org/jboss/weld/servlet/ServletLifecycle.java
Log:
WELD-380, possible fix

Modified: core/trunk/impl/src/main/java/org/jboss/weld/servlet/ServletLifecycle.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/servlet/ServletLifecycle.java	2010-01-25 21:13:28 UTC (rev 5625)
+++ core/trunk/impl/src/main/java/org/jboss/weld/servlet/ServletLifecycle.java	2010-01-25 21:23:35 UTC (rev 5626)
@@ -82,8 +82,9 @@
       }
       else if (lifecycle.getRequestContext().isActive())
       {
+         BeanStore store = restoreSessionContext(session);
          conversationManager.destroyAllConversations();
-         lifecycle.endSession(session.getId(), restoreSessionContext(session));
+         lifecycle.endSession(session.getId(), store);
       }
       else
       {



More information about the weld-commits mailing list