Commit c9ae82da authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent eb0576ba
......@@ -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:
......
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