You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by st...@apache.org on 2015/05/14 16:38:12 UTC
svn commit: r1679385 -
/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java
Author: struberg
Date: Thu May 14 14:38:11 2015
New Revision: 1679385
URL: http://svn.apache.org/r1679385
Log:
OWB-1048 avoid creating a RequestContext during destroy phase.
This is even more important for async servlet support cases where
we need to impl a ThreadBindingListener to make sure we properly clean
up Threads.
Modified:
openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java
Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java?rev=1679385&r1=1679384&r2=1679385&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java (original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java Thu May 14 14:38:11 2015
@@ -340,7 +340,7 @@ public class WebContextsService extends
protected void destroyRequestContext(Object endObject)
{
//Get context
- ServletRequestContext context = getRequestContext(true);
+ ServletRequestContext context = getRequestContext(false);
if (context == null)
{