msctf: Don't bother to free thread local storage at process exit.
This commit is contained in:
parent
ed8a38d400
commit
460f898959
|
@ -526,6 +526,7 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad)
|
|||
tlsIndex = TlsAlloc();
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
if (fImpLoad) break;
|
||||
TlsFree(tlsIndex);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue