mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
comdlg32: Don't bother to free thread local storage at process exit.
This commit is contained in:
parent
b2accc42c0
commit
a7d4b2711c
@ -112,6 +112,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD Reason, LPVOID Reserved)
|
||||
break;
|
||||
|
||||
case DLL_PROCESS_DETACH:
|
||||
if (Reserved) break;
|
||||
if (COMDLG32_TlsIndex != TLS_OUT_OF_INDEXES) TlsFree(COMDLG32_TlsIndex);
|
||||
if(SHFOLDER_hInstance) FreeLibrary(SHFOLDER_hInstance);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user