[jboss-cvs] jboss-seam/src/main/org/jboss/seam/contexts ...
Gavin King
gavin.king at jboss.com
Sat Dec 2 02:51:33 EST 2006
User: gavin
Date: 06/12/02 02:51:33
Modified: src/main/org/jboss/seam/contexts Lifecycle.java
Log:
fix JBSEAM-551
Revision Changes Path
1.68 +7 -1 jboss-seam/src/main/org/jboss/seam/contexts/Lifecycle.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Lifecycle.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/contexts/Lifecycle.java,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- Lifecycle.java 29 Nov 2006 12:51:33 -0000 1.67
+++ Lifecycle.java 2 Dec 2006 07:51:33 -0000 1.68
@@ -31,7 +31,7 @@
/**
* @author Gavin King
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
- * @version $Revision: 1.67 $
+ * @version $Revision: 1.68 $
*/
public class Lifecycle
{
@@ -223,10 +223,16 @@
Contexts.conversationContext.set(null);
}
+ Context tempConversationContext = new MapContext(ScopeType.CONVERSATION);
+ Contexts.conversationContext.set(tempConversationContext);
+
log.debug("destroying session context");
Contexts.destroy(tempSessionContext);
Contexts.sessionContext.set(null);
+ Contexts.destroy(tempConversationContext);
+ Contexts.conversationContext.set(null);
+
Contexts.destroy(tempEventContext);
Contexts.eventContext.set(null);
More information about the jboss-cvs-commits
mailing list