openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r983546 - /openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/servlet/WebBeansConfigurationListener.java
Date Mon, 09 Aug 2010 07:49:53 GMT
Author: struberg
Date: Mon Aug  9 07:49:52 2010
New Revision: 983546

URL: http://svn.apache.org/viewvc?rev=983546&view=rev
Log:
OWB-434 cleanup Request ThreadLocals as late as possible.

Modified:
    openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/servlet/WebBeansConfigurationListener.java

Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/servlet/WebBeansConfigurationListener.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/servlet/WebBeansConfigurationListener.java?rev=983546&r1=983545&r2=983546&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/servlet/WebBeansConfigurationListener.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/servlet/WebBeansConfigurationListener.java
Mon Aug  9 07:49:52 2010
@@ -105,7 +105,6 @@ public class WebBeansConfigurationListen
         {
             logger.debug("Destroying a request : [{0}]", event.getServletRequest().getRemoteAddr());
         }
-        this.lifeCycle.getContextService().endContext(RequestScoped.class, event);      
 
 
         if (failoverService != null && 
                 failoverService.isSupportFailOver()) 
@@ -128,6 +127,8 @@ public class WebBeansConfigurationListen
         {
             elStore.destroyELContextStore();
         }
+
+        this.lifeCycle.getContextService().endContext(RequestScoped.class, event);
     }
 
     /**



Mime
View raw message