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

This commit is contained in:
Francois Gouget 2011-11-17 09:53:26 +01:00 committed by Alexandre Julliard
parent ed03674bc3
commit 7f3fa7c858
1 changed files with 2 additions and 0 deletions

View File

@ -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;