Paul Gofman : qmgr: Force debug info in critical sections.
Module: wine Branch: master Commit: fae3b7a90f1efafeb352b9ae66039de88f22afdb URL: https://gitlab.winehq.org/wine/wine/-/commit/fae3b7a90f1efafeb352b9ae66039de... Author: Paul Gofman <pgofman(a)codeweavers.com> Date: Wed Feb 21 21:54:43 2024 -0600 qmgr: Force debug info in critical sections. --- dlls/qmgr/job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/qmgr/job.c b/dlls/qmgr/job.c index aa164051691..d3b26756198 100644 --- a/dlls/qmgr/job.c +++ b/dlls/qmgr/job.c @@ -1145,7 +1145,7 @@ HRESULT BackgroundCopyJobConstructor(LPCWSTR displayName, BG_JOB_TYPE type, GUID This->IBackgroundCopyJob4_iface.lpVtbl = &BackgroundCopyJobVtbl; This->IBackgroundCopyJobHttpOptions_iface.lpVtbl = &http_options_vtbl; - InitializeCriticalSection(&This->cs); + InitializeCriticalSectionEx(&This->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO); This->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": BackgroundCopyJobImpl.cs"); This->ref = 1;
participants (1)
-
Alexandre Julliard