Return-Path: Delivered-To: apmail-struts-commits-archive@locus.apache.org Received: (qmail 76944 invoked from network); 19 Dec 2008 04:04:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2008 04:04:54 -0000 Received: (qmail 30479 invoked by uid 500); 19 Dec 2008 04:05:05 -0000 Delivered-To: apmail-struts-commits-archive@struts.apache.org Received: (qmail 30447 invoked by uid 500); 19 Dec 2008 04:05:05 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 30438 invoked by uid 99); 19 Dec 2008 04:05:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 20:05:05 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2008 04:04:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6BE27238899B; Thu, 18 Dec 2008 20:04:26 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r727914 - /struts/struts1/trunk/core/src/main/java/org/apache/struts/chain/ComposableRequestProcessor.java Date: Fri, 19 Dec 2008 04:04:26 -0000 To: commits@struts.apache.org From: pbenedict@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081219040426.6BE27238899B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: pbenedict Date: Thu Dec 18 20:04:25 2008 New Revision: 727914 URL: http://svn.apache.org/viewvc?rev=727914&view=rev Log: STR-3174: Release context after execution Modified: struts/struts1/trunk/core/src/main/java/org/apache/struts/chain/ComposableRequestProcessor.java Modified: struts/struts1/trunk/core/src/main/java/org/apache/struts/chain/ComposableRequestProcessor.java URL: http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/chain/ComposableRequestProcessor.java?rev=727914&r1=727913&r2=727914&view=diff ============================================================================== --- struts/struts1/trunk/core/src/main/java/org/apache/struts/chain/ComposableRequestProcessor.java (original) +++ struts/struts1/trunk/core/src/main/java/org/apache/struts/chain/ComposableRequestProcessor.java Thu Dec 18 20:04:25 2008 @@ -284,10 +284,12 @@ } catch (Exception e) { // Execute the exception processing chain?? throw new ServletException(e); + } finally { + // Release the context. + if (context != null) { + context.release(); + } } - - // Release the context. - context.release(); } /**