mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 13:55:35 +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 a new issue