diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c index 6edd30f21f9..bf70baa041b 100644 --- a/dlls/mscoree/metahost.c +++ b/dlls/mscoree/metahost.c @@ -342,6 +342,7 @@ static HRESULT CLRRuntimeInfo_GetRuntimeHost(CLRRuntimeInfo *This, RuntimeHost * if (This->loaded_runtime) { *result = This->loaded_runtime; + LeaveCriticalSection(&runtime_list_cs); return hr; }