mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
openal32: Delete the static critical section when unloading the dll.
This commit is contained in:
parent
ed03674bc3
commit
7f3fa7c858
@ -106,6 +106,8 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
||||
LOADFUNC(alcGetThreadContext);
|
||||
#undef LOADFUNC
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
DeleteCriticalSection(&openal_cs);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user