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:
Vincent Povirk 2017-08-02 11:24:15 -05:00 committed by Alexandre Julliard
parent d4bd150c23
commit bb256b4f21
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}