mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* System.Web/HttpRuntime.cs: remove Console. * System.Web/HttpApplicationFactory.cs: don't hook Session_End, but keep the MethodInfo around for later invocation if needed. Don't call GetMethods() for every HttpApplication (or derived class) instances. Added a method, used by SessionStateModule, that will create use an application without context to invoke Session_End. Keep a pool of applications that are meant to be used by this method only. * System.Web/HttpApplication.cs: add a SetSession method and do not attach all the events if the application is for Session_End only. * System.Web.SessionState/SessionStateModule.cs: Only invoke the End event using the new method in HttpApplicationFactory and when session state mode is InProc. Fixes bug #71662. svn path=/trunk/mcs/; revision=49610