Module: wine Branch: master Commit: 7c2f6be10e3e8093f07f5b5dded74651a138f4ee URL: https://gitlab.winehq.org/wine/wine/-/commit/7c2f6be10e3e8093f07f5b5dded7465...
Author: Paul Gofman pgofman@codeweavers.com Date: Wed Feb 21 21:46:48 2024 -0600
mscoree: Force debug info in critical sections.
---
dlls/mscoree/corruntimehost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c index c8d384730c0..1a546f343e0 100644 --- a/dlls/mscoree/corruntimehost.c +++ b/dlls/mscoree/corruntimehost.c @@ -1592,7 +1592,7 @@ HRESULT RuntimeHost_Construct(CLRRuntimeInfo *runtime_version, RuntimeHost** res
This->ref = 1; This->version = runtime_version; - InitializeCriticalSection(&This->lock); + InitializeCriticalSectionEx(&This->lock, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO); This->lock.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": RuntimeHost.lock");
*result = This;