winecoreaudio: Clean up the timer queue handle in DllMain().

This commit is contained in:
Zebediah Figura 2022-10-16 23:24:11 -05:00 committed by Alexandre Julliard
parent 1a451cb91c
commit 98c0bdb9a8

View file

@ -210,6 +210,7 @@ BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, void *reserved)
case DLL_PROCESS_DETACH:
if (reserved) break;
DeleteCriticalSection(&g_sessions_lock);
CloseHandle(g_timer_q);
break;
}
return TRUE;