mscoree: Fix locking in GetRuntimeHost.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d4bd150c23
commit
bb256b4f21
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue