Commit 1b1433a1 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 7b1d6856
......@@ -336,6 +336,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
break;
case DLL_PROCESS_DETACH:
USER_unload_driver();
DeleteCriticalSection(&user_section);
break;
}
return ret;
......
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