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

oldstable
Francois Gouget 2011-11-17 09:52:09 +01:00 committed by Alexandre Julliard
parent eb0576ba59
commit c9ae82da93
1 changed files with 1 additions and 0 deletions

View File

@ -866,6 +866,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID fImpLoad)
break;
case DLL_PROCESS_DETACH:
free_per_thread_data();
DeleteCriticalSection(&csWSgetXXXbyYYY);
num_startup = 0;
break;
case DLL_THREAD_DETACH: