user32: Delete the static critical section when unloading the dll.
This commit is contained in:
parent
7b1d685634
commit
1b1433a152
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue