Hi,

I'm new here (just signed up), following the
http://mono-project.com/Contributing #Ways to Contribute. If
okay/appropriate, I would like to throw into the ring suggested fixed as I
find them.
Constructive feedback is appreciated.
My motive/goal: To get this working...
MonoDomain* domain = mono_jit_init_version ("Root Domain", "v2.0.50727");
mono_jit_cleanup(domain);
domain = mono_jit_init_version ("Root Domain", "v2.0.50727");
The fix: The first one (of many) is very simple & trivial; set the
global_codeman back to NULL so that it goes through the correct code path in
function mono_global_codeman_reserve
My Code base: Tarball 2.10.2
File: mini.c
Function: mini_cleanup
Line: 6706 to 6707
Old code:

if (!mono_dont_free_global_codeman)

mono_code_manager_destroy (global_codeman);
New code:

if (!mono_dont_free_global_codeman)

{

mono_code_manager_destroy (global_codeman);

global_codeman = NULL;

}

Regards,


Richard Sykes.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to