Module: wine Branch: master Commit: bb256b4f211852ddf5c3ed2c1a2827c39e11cb53 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bb256b4f211852ddf5c3ed2c1a...
Author: Vincent Povirk vincent@codeweavers.com Date: Wed Aug 2 11:24:15 2017 -0500
mscoree: Fix locking in GetRuntimeHost.
Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mscoree/metahost.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c index 6edd30f..bf70baa 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; }