wintab32: Don't bother to unregister classes at process exit.

This commit is contained in:
Alexandre Julliard 2013-05-14 11:27:40 +02:00
parent 5e95368e0a
commit 9cf94e30b2
1 changed files with 2 additions and 5 deletions

View File

@ -99,12 +99,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved)
return FALSE;
break;
case DLL_PROCESS_DETACH:
if (lpReserved) break;
TRACE("Detaching\n");
if (hwndDefault)
{
DestroyWindow(hwndDefault);
hwndDefault = 0;
}
if (hwndDefault) DestroyWindow(hwndDefault);
TABLET_Unregister();
DeleteCriticalSection(&csTablet);
break;