mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 07:40:21 +00:00
winecoreaudio: Clean up the timer queue handle in DllMain().
This commit is contained in:
parent
1a451cb91c
commit
98c0bdb9a8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue