struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r759279 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
Date Fri, 27 Mar 2009 17:40:48 GMT
Author: musachy
Date: Fri Mar 27 17:40:48 2009
New Revision: 759279

URL: http://svn.apache.org/viewvc?rev=759279&view=rev
Log:
XW-620  Cleanup all ThreadLocal references on context shutdown

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java?rev=759279&r1=759278&r2=759279&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
(original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
Fri Mar 27 17:40:48 2009
@@ -287,6 +287,9 @@
         	interceptor.destroy();
         }
 
+        //cleanup action context
+        ActionContext.setContext(null);
+
         // clean up configuration
     	configurationManager.destroyConfiguration();
     	configurationManager = null;



Mime
View raw message