[Mono-dev] [PATCH] Allows mono_jit_init to be called multiple times without crashing.

2009-01-30 Thread Tom Hindle
Hi, Attached for review is a patch that allows multiple calls to mono_jit_init. I appreciate that the first response to this request may be, 'why would you want to do that?' Given that, I will attempt to give a justification. The reason I need to be able to do this is because: I have an

Re: [Mono-dev] [PATCH] Allows mono_jit_init to be called multiple times without crashing.

2009-01-30 Thread Rodrigo Kumpera
Still, why can't your code do the mono_get_root_domain () check? The Moonlight folks requested this as well and it turned out that what they needed was support for creating AppDomains from the unmanaged API. This has been included and will be part of the the upcoming 2.4 release. 2009/1/30 Tom

Re: [Mono-dev] [PATCH] Allows mono_jit_init to be called multiple times without crashing.

2009-01-30 Thread Tom Hindle
On Fri, 2009-01-30 at 16:51 -0200, Rodrigo Kumpera wrote: Still, why can't your code do the mono_get_root_domain () check? yes, good point thanks! (I think I must have assumed it wasn't exposed) The Moonlight folks requested this as well and it turned out that what they needed was support