Commit ed8a38d4 authored by Alexandre Julliard's avatar Alexandre Julliard

mlang: Don't bother to free thread local storage at process exit.

parent a7d4b271
...@@ -888,6 +888,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) ...@@ -888,6 +888,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
DisableThreadLibraryCalls(hInstDLL); DisableThreadLibraryCalls(hInstDLL);
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
if (lpv) break;
TlsFree(MLANG_tls_index); TlsFree(MLANG_tls_index);
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment