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