mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 23:04:36 +00:00
wintab32: Add DebugInfo to critical sections.
This commit is contained in:
parent
e293d630ff
commit
1e0901179a
|
@ -74,6 +74,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved)
|
|||
case DLL_PROCESS_ATTACH:
|
||||
TRACE("Initialization\n");
|
||||
InitializeCriticalSection(&csTablet);
|
||||
csTablet.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": csTablet");
|
||||
hx11drv = GetModuleHandleA("winex11.drv");
|
||||
if (hx11drv)
|
||||
{
|
||||
|
@ -96,6 +97,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved)
|
|||
hwndDefault = 0;
|
||||
}
|
||||
TABLET_Unregister();
|
||||
csTablet.DebugInfo->Spare[0] = 0;
|
||||
DeleteCriticalSection(&csTablet);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue