mlang: Don't bother to free thread local storage at process exit.
This commit is contained in:
parent
a7d4b2711c
commit
ed8a38d400
|
@ -888,6 +888,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
|
|||
DisableThreadLibraryCalls(hInstDLL);
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
if (lpv) break;
|
||||
TlsFree(MLANG_tls_index);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue