Author: kostat
Date: 2007-12-27 03:54:38 -0500 (Thu, 27 Dec 2007)
New Revision: 91916
Modified:
trunk/mcs/class/Mainsoft.Web/Mainsoft.Web.Hosting/BaseHttpServlet.cs
Log:
release faces factories on shutdown
Modified: trunk/mcs/class/Mainsoft.Web/Mainsoft.Web.Hosting/BaseHttpServlet.cs
===================================================================
--- trunk/mcs/class/Mainsoft.Web/Mainsoft.Web.Hosting/BaseHttpServlet.cs
2007-12-27 07:11:19 UTC (rev 91915)
+++ trunk/mcs/class/Mainsoft.Web/Mainsoft.Web.Hosting/BaseHttpServlet.cs
2007-12-27 08:54:38 UTC (rev 91916)
@@ -41,6 +41,7 @@
using java.net;
using System.Globalization;
using System.Diagnostics;
+using javax.faces;
namespace Mainsoft.Web.Hosting
{
@@ -157,6 +158,10 @@
HttpRuntime.Close ();
[EMAIL PROTECTED] (evidence);
context.removeAttribute (J2EEConsts.APP_DOMAIN);
+ try {
+ FactoryFinder.releaseFactories ();
+ }
+ catch (FacesException) { }
java.lang.Thread.currentThread
().setContextClassLoader (null);
}
catch (Exception e) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches