Release the new stuff on exit for Windows, too

This commit is contained in:
Chris Robinson 2007-12-22 13:18:05 -08:00
parent 96bd020bd3
commit d6288d63c6

View File

@ -41,6 +41,9 @@ BOOL APIENTRY DllMain(HANDLE hModule,DWORD ul_reason_for_call,LPVOID lpReserved)
case DLL_PROCESS_DETACH:
ReleaseALBuffers();
ReleaseALAuxiliaryEffectSlots();
ReleaseALEffects();
ReleaseALFilters();
FreeALConfig();
ALTHUNK_EXIT();
DeleteCriticalSection(&_alMutex);