[Mono-devel-list] Patch for proper cache destruction when HttpRuntime is disposed

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Jul 26 10:21:33 EDT 2005

On Tue, 2005-07-26 at 15:19 +0300, Eyal Alaluf wrote:
> Hi, Gonzalo & all.
> The attached patch disposes the timer thread when the HttpRuntime goes down. It is done only
> under TARGET_J2EE for now. My guess is that when the HttpRuntime goes down in Mono it goes
> down with the app domain and this disposes the thread. But if not (as is the case for TARGET_J2EE),
> the timer thread will keep the application alive since it keeps referencing the cache and
> its entries.
> Please review and let me know if the patch makes sense in the Mono context as well or it
> should stay with '#if TARGET_j2EE'.

When shutting down the domain, that timer thread is killed. So this
patch should stay J2EE.


More information about the Mono-devel-list mailing list