Commit 95b0e65b authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

services: Force debug info in critical sections.

parent 90ee219c
......@@ -667,7 +667,7 @@ static DWORD scmdatabase_create(struct scmdatabase **db)
list_init(&(*db)->processes);
list_init(&(*db)->services);
InitializeCriticalSection(&(*db)->cs);
InitializeCriticalSectionEx(&(*db)->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
(*db)->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": scmdatabase");
err = RegCreateKeyExW(HKEY_LOCAL_MACHINE, SZ_SERVICES_KEY, 0, NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment