Commit bb256b4f authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

mscoree: Fix locking in GetRuntimeHost.

parent d4bd150c
...@@ -342,6 +342,7 @@ static HRESULT CLRRuntimeInfo_GetRuntimeHost(CLRRuntimeInfo *This, RuntimeHost * ...@@ -342,6 +342,7 @@ static HRESULT CLRRuntimeInfo_GetRuntimeHost(CLRRuntimeInfo *This, RuntimeHost *
if (This->loaded_runtime) if (This->loaded_runtime)
{ {
*result = This->loaded_runtime; *result = This->loaded_runtime;
LeaveCriticalSection(&runtime_list_cs);
return hr; return hr;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment