Module: wine Branch: master Commit: 67bea281cc851eda6a08430c70f6c9e848d3fbe1 URL: https://gitlab.winehq.org/wine/wine/-/commit/67bea281cc851eda6a08430c70f6c9e...
Author: Paul Gofman pgofman@codeweavers.com Date: Thu Feb 15 14:59:13 2024 -0600
propsys: Force debug info in critical sections.
---
dlls/propsys/propstore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/propsys/propstore.c b/dlls/propsys/propstore.c index 9906df83f6f..d2ce67969bf 100644 --- a/dlls/propsys/propstore.c +++ b/dlls/propsys/propstore.c @@ -464,7 +464,7 @@ HRESULT PropertyStore_CreateInstance(IUnknown *pUnkOuter, REFIID iid, void** ppv
This->IPropertyStoreCache_iface.lpVtbl = &PropertyStore_Vtbl; This->ref = 1; - InitializeCriticalSection(&This->lock); + InitializeCriticalSectionEx(&This->lock, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO); This->lock.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": PropertyStore.lock"); list_init(&This->formats);