Alexandre Julliard : imm32: Don' t bother to unregister classes at process exit.

Alexandre Julliard julliard at winehq.org
Tue May 14 15:34:11 CDT 2013


Module: wine
Branch: master
Commit: 0243fd5aa3bbf7d279d7d41996ae6cbe194159f9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0243fd5aa3bbf7d279d7d41996ae6cbe194159f9

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue May 14 11:26:39 2013 +0200

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

---

 dlls/imm32/imm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index fbb683f..62f4b71 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -386,6 +386,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved)
             IMM_FreeThreadData();
             break;
         case DLL_PROCESS_DETACH:
+            if (lpReserved) break;
             IMM_FreeThreadData();
             IMM_FreeAllImmHkl();
             TlsFree(tlsIndex);




More information about the wine-cvs mailing list