internal static void RecycleForSessionEnd (HttpApplication app)
{
bool dispose = false;
HttpApplicationFactory factory = theFactory;
lock (factory.available_for_end) {
if (factory.available_for_end.Count < 64)
factory.available_for_end.Push (app);
else
dispose = true;
}
if (dispose)
app.Dispose ();
}