urlmon: Delete the static critical section when unloading the dll.

This commit is contained in:
Francois Gouget 2011-11-17 09:54:13 +01:00 committed by Alexandre Julliard
parent fcd8a8f447
commit 7b1d685634

View file

@ -154,6 +154,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
process_detach(); process_detach();
DeleteCriticalSection(&tls_cs);
break; break;
case DLL_THREAD_DETACH: case DLL_THREAD_DETACH: