mscoree: Overhaul of mono runtime shutdown process.
authorVincent Povirk <vincent@codeweavers.com>
Mon, 21 Feb 2011 20:22:02 +0000 (14:22 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 24 Feb 2011 14:49:15 +0000 (15:49 +0100)
commitd6582ae8bd3e5ffe526407c2b2d6fe0b572c28f0
treeb6f04ef75b904d348ed7f2adf89ec0ca70da82a7
parent71bfd33463e24de24ea4a94e47ce01946ad37a25
mscoree: Overhaul of mono runtime shutdown process.

It turns out that we can't free individual domains because that tears down
important data structures. Instead we must shut down the entire runtime, but
only if Mono doesn't shut itself down first. And we need to do it before
DLL_PROCESS_DETACH because important libraries might be gone by then.
dlls/mscoree/corruntimehost.c
dlls/mscoree/metahost.c
dlls/mscoree/mscoree_main.c
dlls/mscoree/mscoree_private.h